Commit 6e5ae26c authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Turn off enable/disable for auth, notification plugins

parent f245c312
......@@ -206,10 +206,6 @@ class PluginAuthInternal extends PluginAuth {
public static function get_instance_config_options() {
return array();
}
public static function can_be_disabled() {
return false;
}
}
?>
......@@ -1607,6 +1607,9 @@ class PluginAuth extends Plugin {
}
}
public static function can_be_disabled() {
return false;
}
}
?>
......@@ -96,10 +96,6 @@ class PluginNotificationInternal extends PluginNotification {
public static function deleteuser($event, $user) {
delete_records('notification_internal_activity', 'usr', $user['id']);
}
public static function can_be_disabled() {
return false;
}
}
?>
......@@ -30,5 +30,8 @@ abstract class PluginNotification extends Plugin {
public abstract static function notify_user($user, $data);
public static function can_be_disabled() {
return false;
}
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment