global PALANG

pull/52/head
David Goodwin 8 years ago
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…
Cancel
Save