"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/plugins/site/pages/sitemanagementpage.class.php" between
fogproject-1.5.5.tar.gz and fogproject-1.5.6.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.

sitemanagementpage.class.php  (fogproject-1.5.5):sitemanagementpage.class.php  (fogproject-1.5.6)
skipping to change at line 114 skipping to change at line 114
* *
* @param object $Site the object to use * @param object $Site the object to use
* *
* @return void * @return void
*/ */
self::$returnData = function (&$Site) { self::$returnData = function (&$Site) {
$this->data[] = array( $this->data[] = array(
'id' => $Site->id, 'id' => $Site->id,
'name' => $Site->name, 'name' => $Site->name,
'description' => $Site->description, 'description' => $Site->description,
'hosts' => $Site->hostcount // 'hosts' => $Site->getHostCount()
'hosts' => self::getClass('SiteHostAssociationManager')
->count(
['siteID' => $Site->id]
)
); );
unset($Site); unset($Site);
}; };
} }
/** /**
* Creates new item. * Creates new item.
* *
* @return void * @return void
*/ */
public function add() public function add()
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

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