Merge pull request #1704 from ralpheav/master

BUG 8665: small change to fit the standars
This commit is contained in:
julceslauhub
2013-05-08 11:10:59 -07:00
2 changed files with 7 additions and 1 deletions

View File

@@ -127,7 +127,10 @@ class Configuration extends BaseConfiguration
}
}
public function exists($CfgUid, $ObjUid, $ProUid, $UsrUid, $AppUid)
/**
* To check if the configuration row exists, by using Configuration Uid data
*/
public function exists($CfgUid, $ObjUid='', $ProUid='', $UsrUid='', $AppUid='')
{
$oRow = ConfigurationPeer::retrieveByPK( $CfgUid, $ObjUid, $ProUid, $UsrUid, $AppUid );
return (( get_class ($oRow) == 'Configuration' )&&(!is_null($oRow)));