fixed error during new installs: emailadmin_account::search(TRUE) is NO valid account_id

This commit is contained in:
Ralf Becker 2014-04-15 17:53:14 +00:00
parent d1e3d3b0c0
commit f65c3f73dd

View File

@ -93,6 +93,8 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send
*/
public function __construct(BackendEGW $backend)
{
if ($GLOBALS['egw_setup']) return;
//$this->debugLevel=2;
$this->backend = $backend;
if (!isset($GLOBALS['egw_info']['user']['preferences']['activesync']['mail-ActiveSyncProfileID']))