* ProjectManager: fixed parent projects were not updated with changes (you had to run sync-all manually

caused by running notifications delayed after response is send to user and to taking into account new notifications generated by notified apps
This commit is contained in:
Ralf Becker 2014-05-15 13:14:09 +00:00
parent bdbc22dd98
commit 802d4c5282

View File

@ -1397,14 +1397,15 @@ class egw_link extends solink
*/
static public function run_notifies()
{
foreach(self::$notifies as $args)
//error_log(__METHOD__."() count(self::\$notifies)=".count(self::$notifies));
while(self::$notifies)
{
$args = array_shift(self::$notifies);
$method = $args['method'];
unset($args['method']);
//error_log(__METHOD__."() calling $method(".array2string($args).')');
ExecMethod($method, $args);
}
self::$notifies = array();
}
/**