aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-23 11:36:28 -0800
committerzotlabs <mike@macgirvin.com>2017-01-23 11:36:28 -0800
commit0d9e12737a90d4f275446969aee07190a173a11b (patch)
tree84ae539d2b624fcca3b4c9098c36f56aa107f055 /Zotlabs
parentcda284424f3be310424772b319efcb8b602e1792 (diff)
downloadvolse-hubzilla-0d9e12737a90d4f275446969aee07190a173a11b.tar.gz
volse-hubzilla-0d9e12737a90d4f275446969aee07190a173a11b.tar.bz2
volse-hubzilla-0d9e12737a90d4f275446969aee07190a173a11b.zip
remnant code that checked for version to see if an app was installed. We do that differently now.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Apps.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index 65f5b3556..2480dde1f 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -448,9 +448,8 @@ class Apps {
static public function app_installed($uid,$app) {
- $r = q("select id from app where app_id = '%s' and app_version = '%s' and app_channel = %d limit 1",
+ $r = q("select id from app where app_id = '%s' and app_channel = %d limit 1",
dbesc((array_key_exists('guid',$app)) ? $app['guid'] : ''),
- dbesc((array_key_exists('version',$app)) ? $app['version'] : ''),
intval($uid)
);
return(($r) ? true : false);