mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Issue 12771: Fix interrupted video playback
This commit is contained in:
parent
5e00120465
commit
3c3c69dfd8
11 changed files with 201 additions and 213 deletions
|
@ -196,17 +196,6 @@ class Page implements ArrayAccess
|
|||
IManagePersonalConfigValues $pConfig,
|
||||
int $localUID
|
||||
) {
|
||||
$interval = ($localUID ? $pConfig->get($localUID, 'system', 'update_interval') : 40000);
|
||||
|
||||
// If the update is 'deactivated' set it to the highest integer number (~24 days)
|
||||
if ($interval < 0) {
|
||||
$interval = 2147483647;
|
||||
}
|
||||
|
||||
if ($interval < 10000) {
|
||||
$interval = 40000;
|
||||
}
|
||||
|
||||
// Default title: current module called
|
||||
if (empty($this->page['title']) && $args->getModuleName()) {
|
||||
$this->page['title'] = ucfirst($args->getModuleName());
|
||||
|
@ -274,7 +263,7 @@ class Page implements ArrayAccess
|
|||
|
||||
'$local_user' => $localUID,
|
||||
'$generator' => 'Friendica' . ' ' . App::VERSION,
|
||||
'$update_interval' => $interval,
|
||||
'$update_content' => (int)$pConfig->get($localUID, 'system', 'update_content'),
|
||||
'$shortcut_icon' => $shortcut_icon,
|
||||
'$touch_icon' => $touch_icon,
|
||||
'$block_public' => intval($config->get('system', 'block_public')),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue