mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
Removed debug info
This commit is contained in:
@@ -35,13 +35,13 @@ class forum_event
|
|||||||
|
|
||||||
function forum_eventlogin($data) // Clear user_plugin_forum_viewed on user LOGIN
|
function forum_eventlogin($data) // Clear user_plugin_forum_viewed on user LOGIN
|
||||||
{
|
{
|
||||||
$myfile = fopen("newfile.txt", "a") or die("Unable to open file!");
|
/*$myfile = fopen("newfile.txt", "a") or die("Unable to open file!");
|
||||||
$txt = "login (".USERID.")\n";
|
$txt = "login (".USERID.")\n";
|
||||||
fwrite($myfile, $txt);
|
fwrite($myfile, $txt);
|
||||||
fwrite($myfile, print_r($data,true));
|
fwrite($myfile, print_r($data,true));
|
||||||
fclose($myfile);
|
fclose($myfile);
|
||||||
echo('hola');
|
echo('hola');
|
||||||
print_a($data);
|
print_a($data);*/
|
||||||
e107::getDb()->update('user_extended', "user_plugin_forum_viewed = NULL WHERE user_extended_id = ".$data[user_id]);
|
e107::getDb()->update('user_extended', "user_plugin_forum_viewed = NULL WHERE user_extended_id = ".$data[user_id]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user