]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix path and class name
authorGeorg Ehrke <dev@georgswebsite.de>
Sun, 8 Apr 2012 02:45:44 +0000 (22:45 -0400)
committerGeorg Ehrke <dev@georgswebsite.de>
Sun, 8 Apr 2012 02:45:44 +0000 (22:45 -0400)
apps/calendar/ajax/events.php
apps/calendar/lib/app.php

index 21e816b12750af7706f2e2f655989f2d965efd5d..4c011e5d764662d7adce2f54ad4e7bc90288e6a3 100755 (executable)
@@ -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');
index 40de6deb432ed786b8506ee92a172ccf16f414a8..4ea736885051fafdd55dae45c25540d74c9dcbf3 100644 (file)
@@ -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';