mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
global PALANG
This commit is contained in:
parent
64f1593818
commit
8508b8e119
@ -187,6 +187,8 @@ class DomainHandler extends PFAHandler {
|
||||
* @return true on success false on failure
|
||||
*/
|
||||
public function delete() {
|
||||
global $PALANG;
|
||||
|
||||
# TODO: check for _can_delete instead
|
||||
if (! $this->is_superadmin) {
|
||||
$this->errormsg[] = Config::Lang_f('no_delete_permissions', $this->id);
|
||||
|
Loading…
Reference in New Issue
Block a user