Changeset View
Changeset View
Standalone View
Standalone View
src/app/User.php
Show First 20 Lines • Show All 712 Lines • ▼ Show 20 Lines | public function setStatusAttribute($status) | ||||
$status ^= $value; | $status ^= $value; | ||||
} | } | ||||
} | } | ||||
if ($status > 0) { | if ($status > 0) { | ||||
throw new \Exception("Invalid user status: {$status}"); | throw new \Exception("Invalid user status: {$status}"); | ||||
} | } | ||||
// FIXME: Should we remove STATUS_LDAP_READY/STATUS_IMAP_READY | |||||
// when setting STATUS_DELETED? | |||||
vanmeeuwen: This should be an effect of having the associated jobs executed successfully, no? | |||||
$this->attributes['status'] = $new_status; | $this->attributes['status'] = $new_status; | ||||
} | } | ||||
} | } |
This should be an effect of having the associated jobs executed successfully, no?