mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Now we have less than 100 insert commands, yeah
This commit is contained in:
parent
c6b04aa922
commit
03b86d3766
6 changed files with 14 additions and 40 deletions
|
@ -83,7 +83,7 @@ function oembed_fetch_url($embedurl, $no_rich_type = false){
|
|||
$j = json_decode($txt);
|
||||
if ($j->type != "error") {
|
||||
dba::insert('oembed', array('url' => normalise_link($embedurl),
|
||||
'content' => $txt, 'created' => datetime_convert()));
|
||||
'content' => $txt, 'created' => datetime_convert()), true);
|
||||
}
|
||||
|
||||
Cache::set($a->videowidth.$embedurl, $txt, CACHE_DAY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue