Skip to content

Commit

Permalink
[InstagramBridge] Remove condition that forces cache ignoring
Browse files Browse the repository at this point in the history
  • Loading branch information
teromene committed Sep 11, 2019
1 parent 48ebed7 commit 7aba799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/InstagramBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function getInstagramUserId($username) {
$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) {
Expand Down

0 comments on commit 7aba799

Please sign in to comment.