Revert to stable version 3.5.4

This commit is contained in:
Hypolite Petovan 2018-02-11 19:00:01 -05:00
parent 38db18b624
commit 5360f08f42
355 changed files with 21449 additions and 4957 deletions

View file

@ -1,7 +1,5 @@
<?php
use Friendica\Core\PConfig;
abstract class wdcal_local
{
@ -36,7 +34,7 @@ abstract class wdcal_local
* @return wdcal_local
*/
static function getInstanceByUser($uid = 0) {
$dateformat = PConfig::get($uid, "dav", "dateformat");
$dateformat = get_pconfig($uid, "dav", "dateformat");
$format = self::getInstance($dateformat);
if ($format == null) $format = self::getInstance(self::LOCAL_US);
return $format;