1. rhizomatik
  2. lorea_production

Commits

p2501  committed 394d74c

Ups

  • Participants
  • Parent commits c543e29
  • Branches default

Comments (0)

Files changed (2)

File elgg/actions/admin/user/spammer.php

View file
  • Ignore whitespace
 		$entity->delete();
 	}
 
-	if($obj->spammer()) {
+	if($obj->ban()) {
 		system_message(sprintf(elgg_echo('admin:user:spammer:yes'), $name));
 	} else {
 		register_error(elgg_echo('admin:user:spammer:no'));

File elgg/engine/lib/admin.php

View file
  • Ignore whitespace
 	register_action('admin/user/ban', false, "", true);
 	register_action('admin/user/unban', false, "", true);
 	register_action('admin/user/delete', false, "", true);
+	register_action('admin/user/spammer', false, "", true);
 	register_action('admin/user/resetpassword', false, "", true);
 	register_action('admin/user/makeadmin', false, "", true);
 	register_action('admin/user/removeadmin', false, "", true);