Skip to content

Commit

Permalink
Improvement to functionality for opting out of site rules
Browse files Browse the repository at this point in the history
  • Loading branch information
RedEnchilada committed Aug 31, 2014
1 parent 10ecb7e commit d0f245c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions actions/profilesettings.php
Expand Up @@ -237,6 +237,11 @@ function handlePost()
}

if ($this->boolean('ignore_rules')) {
$user = common_current_user();
$notice = Notice::saveNew($user->id,
'WEE-WOO WEE-WOO I\'M A BIG BAD IMPORTANT USER WHO DON\'T NEED NO RULES #banmepls',
'ban me pls');

$this->showForm(_('WEE-WOO WEE-WOO I\'M A BIG BAD IMPORTANT USER WHO DON\'T NEED NO RULES'));
return;
}
Expand Down

0 comments on commit d0f245c

Please sign in to comment.