fix path and class name

remotes/origin/stable4
Georg Ehrke 15 years ago
parent 5a4237a31d
commit 960553f9c4
  1. 2
      apps/calendar/ajax/events.php
  2. 4
      apps/calendar/lib/app.php

@ -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…
Cancel
Save