forked from extern/egroupware
fix wrong case in "AsyncService" to "Asyncservice"
This commit is contained in:
parent
eb07902d4e
commit
19501960e1
@ -841,7 +841,7 @@ abstract class admin_cmd
|
|||||||
{
|
{
|
||||||
return admin_cmd::run_queued_jobs();
|
return admin_cmd::run_queued_jobs();
|
||||||
}
|
}
|
||||||
$async = new Api\AsyncService();
|
$async = new Api\Asyncservice();
|
||||||
|
|
||||||
// we cant use this class as callback, as it's abstract and ExecMethod used by the async service instanciated the class!
|
// we cant use this class as callback, as it's abstract and ExecMethod used by the async service instanciated the class!
|
||||||
list($app) = explode('_',$class=$next['type']);
|
list($app) = explode('_',$class=$next['type']);
|
||||||
|
@ -111,7 +111,7 @@ class calendar_so
|
|||||||
/**
|
/**
|
||||||
* instance of the async object
|
* instance of the async object
|
||||||
*
|
*
|
||||||
* @var Api\AsyncService
|
* @var Api\Asyncservice
|
||||||
*/
|
*/
|
||||||
var $async;
|
var $async;
|
||||||
/**
|
/**
|
||||||
|
@ -1617,7 +1617,7 @@ function calendar_upgrade1_5_001()
|
|||||||
function calendar_upgrade1_5_002()
|
function calendar_upgrade1_5_002()
|
||||||
{
|
{
|
||||||
// update the alarm methods
|
// update the alarm methods
|
||||||
$async = new Api\AsyncService();
|
$async = new Api\Asyncservice();
|
||||||
foreach((array)$async->read('cal:%') as $job)
|
foreach((array)$async->read('cal:%') as $job)
|
||||||
{
|
{
|
||||||
if ($job['method'] == 'calendar.bocalupdate.send_alarm')
|
if ($job['method'] == 'calendar.bocalupdate.send_alarm')
|
||||||
|
@ -59,7 +59,7 @@ foreach(array(
|
|||||||
'EGW_ACL_CUSTOM_2' => 'Api\\Acl::CUSTOM2',
|
'EGW_ACL_CUSTOM_2' => 'Api\\Acl::CUSTOM2',
|
||||||
'EGW_ACL_CUSTOM_3' => 'Api\\Acl::CUSTOM3',
|
'EGW_ACL_CUSTOM_3' => 'Api\\Acl::CUSTOM3',
|
||||||
'applications' => 'Api\\Egw\\Applications',
|
'applications' => 'Api\\Egw\\Applications',
|
||||||
'asyncservice' => 'Api\\AsyncService',
|
'asyncservice' => 'Api\\Asyncservice',
|
||||||
'auth' => 'Api\\Auth',
|
'auth' => 'Api\\Auth',
|
||||||
'categories' => 'Api\\Categories',
|
'categories' => 'Api\\Categories',
|
||||||
'config::get_customfields' => 'Api\\Storage\\Customfields::get',
|
'config::get_customfields' => 'Api\\Storage\\Customfields::get',
|
||||||
|
@ -745,7 +745,7 @@ class mail_sieve
|
|||||||
throw new Api\Exception\WrongParameter('No acc_id given!');
|
throw new Api\Exception\WrongParameter('No acc_id given!');
|
||||||
}
|
}
|
||||||
// setting up an async job to enable/disable the vacation message
|
// setting up an async job to enable/disable the vacation message
|
||||||
$async = new Api\AsyncService();
|
$async = new Api\Asyncservice();
|
||||||
if (empty($_vacation['account_id'])) $_vacation['account_id'] = $GLOBALS['egw_info']['user']['account_id'];
|
if (empty($_vacation['account_id'])) $_vacation['account_id'] = $GLOBALS['egw_info']['user']['account_id'];
|
||||||
$async_id = !empty($_vacation['id']) ? $_vacation['id'] : 'mail-vacation-'.$_vacation['account_id'];
|
$async_id = !empty($_vacation['id']) ? $_vacation['id'] : 'mail-vacation-'.$_vacation['account_id'];
|
||||||
$async->delete($async_id);
|
$async->delete($async_id);
|
||||||
|
@ -17,6 +17,6 @@ use EGroupware\Api;
|
|||||||
/**
|
/**
|
||||||
* The class implements a general eGW service to execute callbacks at a given time.
|
* The class implements a general eGW service to execute callbacks at a given time.
|
||||||
*
|
*
|
||||||
* @deprecated use Api\AsyncService
|
* @deprecated use Api\Asyncservice
|
||||||
*/
|
*/
|
||||||
class asyncservice extends Api\Asyncservice {}
|
class asyncservice extends Api\Asyncservice {}
|
||||||
|
@ -35,7 +35,7 @@ if (!is_object(@$GLOBALS['egw'])) // called from outside eGW ==> setup
|
|||||||
$is_setup = true;
|
$is_setup = true;
|
||||||
}
|
}
|
||||||
$db_backup = new Api\Db\Backup();
|
$db_backup = new Api\Db\Backup();
|
||||||
$asyncservice = new Api\AsyncService();
|
$asyncservice = new Api\Asyncservice();
|
||||||
|
|
||||||
// download a backup, has to be before any output !!!
|
// download a backup, has to be before any output !!!
|
||||||
if ($_POST['download'])
|
if ($_POST['download'])
|
||||||
|
Loading…
Reference in New Issue
Block a user