summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-31 13:55:07 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-31 13:55:07 +0200
commitb8bba11531399482b2c24ab273649e3156e66859 (patch)
tree19917dd13b5f0eaa39937c8659107a821ed3759d
parentcf23f6dfe62ab042331dd754b304d1968a568e66 (diff)
downloadwebadmin-b8bba11531399482b2c24ab273649e3156e66859.tar.gz
Create a function Auth::modify_entry() to get things edited in one go.
-rw-r--r--lib/Auth.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Auth.php b/lib/Auth.php
index b72b7bc..e4bbc8d 100644
--- a/lib/Auth.php
+++ b/lib/Auth.php
@@ -251,6 +251,11 @@ class Auth {
return $roles;
}
+ public function modify_entry($subject, $attrs, $_attrs)
+ {
+ return $this->_auth[$_SESSION['user']->get_domain()]->modify_entry($subject, $attrs, $_attrs);
+ }
+
public function modify_entry_attributes($subject, $mod_array)
{
return $this->_auth[$_SESSION['user']->get_domain()]->modify_entry_attributes($subject, $mod_array);