Fixed privileges for some jobs

This commit is contained in:
Marcin Kurczewski 2014-05-06 13:06:42 +02:00
parent 26f2c46e5b
commit b7a42d9f6a
3 changed files with 3 additions and 3 deletions

View file

@ -33,6 +33,6 @@ class DeleteCommentJob extends AbstractJob
public function requiresConfirmedEmail() public function requiresConfirmedEmail()
{ {
return getConfig()->registration->needEmailForCommenting; return false;
} }
} }

View file

@ -26,6 +26,6 @@ class DeletePostJob extends AbstractPostJob
public function requiresConfirmedEmail() public function requiresConfirmedEmail()
{ {
return getConfig()->registration->needEmailForCommenting; return false;
} }
} }

View file

@ -37,6 +37,6 @@ class EditCommentJob extends AbstractJob
public function requiresConfirmedEmail() public function requiresConfirmedEmail()
{ {
return getConfig()->registration->needEmailForCommenting; return false;
} }
} }