/* Switch application contexts, if necessary. Return an error
* immediately if pushApp() fails. */
try {
- $app_pushed = $GLOBALS['registry']->pushApp($this->_app);
+ $app_pushed = $GLOBALS['registry']->pushApp($this->_app, array('check_perms' => true, 'logintasks' => false));
} catch (Horde_Exception $e) {
return $e->getMessage();
}
/* Switch application contexts, if necessary. Return an error
* immediately if pushApp() fails. */
try {
- $app_pushed = $GLOBALS['registry']->pushApp($this->_app);
+ $app_pushed = $GLOBALS['registry']->pushApp($this->_app, array('check_perms' => true, 'logintasks' => false));
} catch (Horde_Exception $e) {
return $e->getMessage();
}
/* Switch application contexts, if necessary. Return an error
* immediately if pushApp() fails. */
try {
- $app_pushed = $GLOBALS['registry']->pushApp($this->_app);
+ $app_pushed = $GLOBALS['registry']->pushApp($this->_app, array('check_perms' => true, 'logintasks' => false));
} catch (Horde_Exception $e) {
return $e->getMessage();
}
/* Switch application contexts, if necessary. Return an error
* immediately if pushApp() fails. */
try {
- $app_pushed = $GLOBALS['registry']->pushApp($this->_app, array('logintasks' => false));
+ $app_pushed = $GLOBALS['registry']->pushApp($this->_app, array('check_perms' => true, 'logintasks' => false));
} catch (Horde_Exception $e) {
return $e->getMessage();
}