We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3740f1 commit e54f5feCopy full SHA for e54f5fe
manual/vote-note.php
@@ -57,12 +57,6 @@
57
$error = "Incorrect answer! Please try again.";
58
}
59
else {
60
- if ($_REQUEST['vote'] === 'up') {
61
- $N[$_REQUEST['id']]->upvotes++;
62
- }
63
- elseif ($_REQUEST['vote'] === 'down') {
64
- $N[$_REQUEST['id']]->downvotes++;
65
66
$hash = substr(md5($_REQUEST['page']), 0, 16);
67
$notes_file = $_SERVER['DOCUMENT_ROOT'] . "/backend/notes/" . substr($hash, 0, 2) . "/$hash";
68
if (file_exists($notes_file)) {
0 commit comments