remove a bunch of dead variables and things

This commit is contained in:
Shish
2019-10-02 11:23:57 +01:00
parent e08cdb1638
commit 30698fefdc
45 changed files with 51 additions and 111 deletions

View File

@@ -242,7 +242,7 @@ class DanbooruApi extends Extension
*/
private function api_add_post()
{
global $user, $config, $page;
global $user, $page;
$danboorup_kludge = 1; // danboorup for firefox makes broken links out of location: /path
// Check first if a login was supplied, if it wasn't check if the user is logged in via cookie