summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-01-13 18:29:30 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-01-13 18:29:30 +0000
commit283ad4ebea9e93a97848000f38ca91b23ce883ff (patch)
tree0b9ea618b438156b3803df115afec5e34d30e3a8 /update.php
parentd334023267848accb339c8ec3186be2afde3b514 (diff)
parent8727fb3ba8a28da48c71bdd39166b9aeb3c3d986 (diff)
Merge branch 'feature/unused-var-cleanup' into 'master'
Clean up some unused variables. See merge request tt-rss/tt-rss!19
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php3
1 files changed, 0 insertions, 3 deletions
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);