Skip to content

Commit 1d339cf

Browse files
committed
@todo set and use cache time in search
1 parent 5a7f495 commit 1d339cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mediawiki.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function search($query)
9696
return false;
9797
}
9898
$result = [];
99-
$result['cached'] = time(); // set cache time
99+
//$result['cached'] = time(); // @TODO set and use cache time
100100
foreach ($data[self::QUERY][self::SEARCH] as $topic) {
101101
if (!isset($topic[self::TITLE]) || !is_string($topic[self::TITLE])) {
102102
continue;

0 commit comments

Comments
 (0)