Empty commit

This commit is contained in:
Git 2012-09-13 08:00:20 +00:00
parent 015a8bd351
commit 1be6f0b3b0
2 changed files with 7 additions and 3 deletions

View File

@ -100,7 +100,8 @@
<br /> <br />
</div> </div>
</div> </div>
<? <?
/*
if(check_perms('users_mod')) { if(check_perms('users_mod')) {
$DB->query("SELECT ForumID from subscribed_forums WHERE ForumID='$ForumID' AND SubscriberID='$LoggedUser[ID]'"); $DB->query("SELECT ForumID from subscribed_forums WHERE ForumID='$ForumID' AND SubscriberID='$LoggedUser[ID]'");
if($DB->record_count() == 0) { ?> if($DB->record_count() == 0) { ?>
@ -108,7 +109,9 @@
<? } else { ?> <? } else { ?>
[<a href="forums.php?action=forum_subscribe&amp;perform=remove&amp;forumid=<?=$ForumID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Unsubscribe from Forum</a>] [<a href="forums.php?action=forum_subscribe&amp;perform=remove&amp;forumid=<?=$ForumID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Unsubscribe from Forum</a>]
<? } <? }
}?> }
*/
?>
</div> </div>
<? if(check_perms('site_moderate_forums')) { ?> <? if(check_perms('site_moderate_forums')) { ?>

View File

@ -88,6 +88,7 @@
} }
//auto subscribe //auto subscribe
/*
if(check_perms('users_mod')) { if(check_perms('users_mod')) {
$DB->query("SELECT SubscriberID FROM subscribed_forums WHERE ForumID = '$ForumID' AND SubscriberID <> '$LoggedUser[ID]'"); $DB->query("SELECT SubscriberID FROM subscribed_forums WHERE ForumID = '$ForumID' AND SubscriberID <> '$LoggedUser[ID]'");
while(list($SubscriberID) = $DB->next_record()) { while(list($SubscriberID) = $DB->next_record()) {
@ -99,7 +100,7 @@
$Cache->delete_value('subscriptions_user_'.$SubscriberID); $Cache->delete_value('subscriptions_user_'.$SubscriberID);
} }
} }
*/
if (empty($_POST['question']) || empty($_POST['answers']) || !check_perms('forums_polls_create')) { if (empty($_POST['question']) || empty($_POST['answers']) || !check_perms('forums_polls_create')) {
$NoPoll = 1; $NoPoll = 1;