From 8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 Mon Sep 17 00:00:00 2001 From: wn_ Date: Mon, 8 Jan 2024 22:46:13 +0000 Subject: Clean up some unused variables. This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm. --- update.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index 4c10e3072..442ec857a 100755 --- a/update.php +++ b/update.php @@ -188,7 +188,6 @@ Debug::log("Lock: $lock_filename"); $lock_handle = make_lockfile($lock_filename); - $must_exit = false; if (isset($options["task"]) && isset($options["pidlock"])) { $waits = $options["task"] * 5; @@ -512,8 +511,6 @@ exit(1); } - $rc = -1; - if ($enable) { Debug::log("Enabling API access for user $login..."); $rc = Prefs::set(Prefs::ENABLE_API_ACCESS, true, $uid, null); -- cgit v1.2.3