"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/fog/hookmanager.class.php" between
fogproject-1.5.8.tar.gz and fogproject-1.5.9.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.

hookmanager.class.php  (fogproject-1.5.8):hookmanager.class.php  (fogproject-1.5.9)
skipping to change at line 54 skipping to change at line 54
/** /**
* Processes the system for customizable elements. * Processes the system for customizable elements.
* *
* @param string $event the event to process * @param string $event the event to process
* @param array $arguments the arguments to pass * @param array $arguments the arguments to pass
* *
* @return void * @return void
*/ */
public function processEvent($event, $arguments = array()) public function processEvent($event, $arguments = array())
{ {
$this->events[] = $event;
$exists = self::getClass('HookEventManager')->exists( $exists = self::getClass('HookEventManager')->exists(
$event, $event,
'', '',
'name' 'name'
); );
if (!$exists) { if (!$exists) {
self::getClass('HookEvent') self::getClass('HookEvent')
->set('name', $event) ->set('name', $event)
->save(); ->save();
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

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