1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Removed debug info

This commit is contained in:
Tijn Kuyper
2017-01-29 18:47:28 +01:00
committed by GitHub
parent ec75b247fb
commit 63e7dc513e

View File

@@ -35,13 +35,13 @@ class forum_event
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";
fwrite($myfile, $txt);
fwrite($myfile, print_r($data,true));
fclose($myfile);
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]);
}