mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Move Global Functions - Part 3
- Replaced every CACHE definition - Moved check_url to App->checkURL() - Removed unused definition "ZCURL_TIMEOUT"
This commit is contained in:
parent
ec9f1563f9
commit
4392858662
16 changed files with 43 additions and 70 deletions
|
@ -577,7 +577,7 @@ class Profile
|
|||
);
|
||||
if (DBA::isResult($s)) {
|
||||
$r = DBA::toArray($s);
|
||||
Cache::set($cachekey, $r, CACHE_HOUR);
|
||||
Cache::set($cachekey, $r, Cache::HOUR);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1037,7 +1037,7 @@ class Profile
|
|||
logger('URL ' . $my_url . ' already tried to authenticate.', LOGGER_DEBUG);
|
||||
return;
|
||||
} else {
|
||||
Cache::set($cachekey, true, CACHE_MINUTE);
|
||||
Cache::set($cachekey, true, Cache::MINUTE);
|
||||
}
|
||||
|
||||
logger('Not authenticated. Invoking reverse magic-auth for ' . $my_url, LOGGER_DEBUG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue