Fixed privileges for some jobs
This commit is contained in:
parent
26f2c46e5b
commit
b7a42d9f6a
3 changed files with 3 additions and 3 deletions
|
@ -33,6 +33,6 @@ class DeleteCommentJob extends AbstractJob
|
||||||
|
|
||||||
public function requiresConfirmedEmail()
|
public function requiresConfirmedEmail()
|
||||||
{
|
{
|
||||||
return getConfig()->registration->needEmailForCommenting;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,6 @@ class DeletePostJob extends AbstractPostJob
|
||||||
|
|
||||||
public function requiresConfirmedEmail()
|
public function requiresConfirmedEmail()
|
||||||
{
|
{
|
||||||
return getConfig()->registration->needEmailForCommenting;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,6 @@ class EditCommentJob extends AbstractJob
|
||||||
|
|
||||||
public function requiresConfirmedEmail()
|
public function requiresConfirmedEmail()
|
||||||
{
|
{
|
||||||
return getConfig()->registration->needEmailForCommenting;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue