mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Issue #2016 - Extra debug info added.
This commit is contained in:
@@ -1279,6 +1279,7 @@ class forum_post_handler
|
|||||||
|
|
||||||
if(!deftrue('MODERATOR'))
|
if(!deftrue('MODERATOR'))
|
||||||
{
|
{
|
||||||
|
e107::getDebug()->log("Move Thread attempted by non-moderator"); // No LAN necessary.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1322,6 +1323,7 @@ class forum_post_handler
|
|||||||
{
|
{
|
||||||
if(!deftrue('MODERATOR'))
|
if(!deftrue('MODERATOR'))
|
||||||
{
|
{
|
||||||
|
e107::getDebug()->log("Split Thread attempted by non-moderator"); // No LAN necessary.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user