summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c34fc3e)
raw | patch | inline | side by side (parent: c34fc3e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jan 2010 10:39:09 +0000 (10:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Jan 2010 10:39:09 +0000 (10:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15405 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index 97ba976c27d62d978b518095494323c110f0a9c7..729a273d8195bc1cdcdc6989c3ef3fc3e9e533fe 100644 (file)
*/
function saveChanges()
{
- management::saveChanges();
+ $str = management::saveChanges();
+ if(!empty($str)) return($str);
if(isset($this->last_tabObject->by_object['user']) && $this->last_tabObject->by_object['user']->password_change_needed()){
$this->force_hash_type[$this->last_tabObject->dn] = $this->last_tabObject->by_object['user']->pw_storage;
function cancelEdit()
{
- management::cancelEdit();
+ $str = management::cancelEdit();
+ if(!empty($str)) return($str);
if(isset($this->last_tabObject->by_object['user']) &&
$this->last_tabObject->by_object['user']->dn != "new" &&
function newUserFromTemplate($action="",$target=array(),$all=array())
{
// Call parent method, it knows whats to do, locking and so on ...
- management::newEntry($action,$target,$all);
+ $str = management::newEntry($action,$target,$all);
+ if(!empty($str)) return($str);
// Reset uid selection.
$this->got_uid= "";
{
// Call parent method, it manages everything, locking, object creation...
- management::newEntry($action,$target,$all);
+ $str = management::newEntry($action,$target,$all);
+ if(!empty($str)) return($str);
// If we've at least one template, then ask the user if he wants to use one?
$templates = array();