fix path and class name
This commit is contained in:
parent
5a4237a31d
commit
960553f9c4
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
require_once ('../../../lib/base.php');
|
||||
require_once(OC::$THIRDPARTYROOT . 'when/When.php');
|
||||
require_once('when/When.php');
|
||||
|
||||
OC_JSON::checkLoggedIn();
|
||||
OC_JSON::checkAppEnabled('calendar');
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
*
|
||||
* This class manages our app actions
|
||||
*/
|
||||
self::$l10n = new OC_L10N('calendar');
|
||||
self::$tz = OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'timezone', date_default_timezone_get());
|
||||
OC_Calendar_App::$l10n = new OC_L10N('calendar');
|
||||
OC_Calendar_App::$tz = OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'timezone', date_default_timezone_get());
|
||||
class OC_Calendar_App{
|
||||
const CALENDAR = 'calendar';
|
||||
const EVENT = 'event';
|
||||
|
|
Loading…
Reference in a new issue