"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/fog/snapin.class.php" between
fogproject-1.5.7.tar.gz and fogproject-1.5.8.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.

snapin.class.php  (fogproject-1.5.7):snapin.class.php  (fogproject-1.5.8)
skipping to change at line 370 skipping to change at line 370
* @param int $groupID the group id to check * @param int $groupID the group id to check
* *
* @return bool * @return bool
*/ */
public function getPrimaryGroup($groupID) public function getPrimaryGroup($groupID)
{ {
$primaryCount = self::getClass('SnapinGroupAssociationManager') $primaryCount = self::getClass('SnapinGroupAssociationManager')
->count( ->count(
array( array(
'snapinID' => $this->get('id'), 'snapinID' => $this->get('id'),
'prmary' => 1, 'primary' => 1,
) )
); );
if ($primaryCount < 1) { if ($primaryCount < 1) {
$primaryCount = self::getClass('SnapinGroupAssociationManager') $primaryCount = self::getClass('SnapinGroupAssociationManager')
->count( ->count(
array('snapinID' => $this->get('id')) array('snapinID' => $this->get('id'))
); );
} }
if ($primaryCount < 1) { if ($primaryCount < 1) {
$groupid = self::getSubObjectIDs('StorageGroup'); $groupid = self::getSubObjectIDs('StorageGroup');
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)