From 7aba7992aad160a84d9035f9906028385cfd65a9 Mon Sep 17 00:00:00 2001 From: Lyra Date: Wed, 11 Sep 2019 19:28:46 +0200 Subject: [PATCH] [InstagramBridge] Remove condition that forces cache ignoring --- bridges/InstagramBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/InstagramBridge.php b/bridges/InstagramBridge.php index 7b84a19d..77a48e68 100644 --- a/bridges/InstagramBridge.php +++ b/bridges/InstagramBridge.php @@ -57,7 +57,7 @@ class InstagramBridge extends BridgeAbstract { $cache->setKey([$username]); $key = $cache->loadData(); - if($key == null || true) { + if($key == null) { $data = getContents(self::URI . 'web/search/topsearch/?query=' . $username); foreach(json_decode($data)->users as $user) {