diff options
-rw-r--r-- | ajax/scores.ajax.php | 2 | ||||
-rw-r--r-- | do.php | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/ajax/scores.ajax.php b/ajax/scores.ajax.php index f2d38fc..897da3b 100644 --- a/ajax/scores.ajax.php +++ b/ajax/scores.ajax.php @@ -1,7 +1,5 @@ <?
-// Session as read-only to not lock the file.
session_start();
-session_write_close();
$userID = $_SESSION['userID'];
@@ -52,8 +52,7 @@ if (isset($_GET['checkachieve']) && $_GET['checkachieve'] == 'true' && $_SESSION $userID = $_SESSION['userID'];
//Located in includes/datas.php
$note = getNotified($userID);
- if ($note !== false)
- $json['notificationtext'] = $note;
+ if ($note !== false) $json['notificationtext'] = $note;
}
if ($_GET['r'] == 'reqMemberPage') {
|