diff options
author | Mario <mario@mariovavti.com> | 2021-10-10 07:56:42 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-10 07:56:42 +0000 |
commit | f19acd9f50ec9b8c78f77af64d523d2295b46052 (patch) | |
tree | 8dfb2cf41060f2f0ef4382fb8512f7b0b2c1ef05 | |
parent | 59940e7f053a1bb3fd0588e25d34b5235133dd2b (diff) | |
download | volse-hubzilla-f19acd9f50ec9b8c78f77af64d523d2295b46052.tar.gz volse-hubzilla-f19acd9f50ec9b8c78f77af64d523d2295b46052.tar.bz2 volse-hubzilla-f19acd9f50ec9b8c78f77af64d523d2295b46052.zip |
remove redundant variable and provide missing phpdoc
-rw-r--r-- | Zotlabs/Lib/Apps.php | 1 | ||||
-rw-r--r-- | include/import.php | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 2c5b8a546..669dd6307 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -210,6 +210,7 @@ class Apps { * * @param string $f filename * @param boolean $translate (optional) default true + * @param boolean $sync (optional) default false * @return boolean|array */ static public function parse_app_description($f, $translate = true, $sync = false) { diff --git a/include/import.php b/include/import.php index c6d89b5f3..b0a1a77e5 100644 --- a/include/import.php +++ b/include/import.php @@ -597,7 +597,6 @@ function sync_sysapps($channel, $apps) { foreach ($apps as $app) { - $exists = false; $term = ((array_key_exists('term',$app)) ? $app['term'] : null); if (array_key_exists('app_system',$app) && (! intval($app['app_system']))) { |