diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-08 06:45:44 +0400 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-08 06:45:44 +0400 |
commit | 960553f9c4fffe06fc6a9d80ed22fdcd2228a343 (patch) | |
tree | 3e9af412aca1246145eea1810474d4938187bb78 /apps/calendar | |
parent | 5a4237a31dd326b6ce46a6a7f1e9f45d103f51b6 (diff) |
fix path and class name
Diffstat (limited to 'apps/calendar')
-rwxr-xr-x | apps/calendar/ajax/events.php | 2 | ||||
-rw-r--r-- | apps/calendar/lib/app.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/calendar/ajax/events.php b/apps/calendar/ajax/events.php index 21e816b1275..4c011e5d764 100755 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.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'); diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index 40de6deb432..4ea73688505 100644 --- a/apps/calendar/lib/app.php +++ b/apps/calendar/lib/app.php @@ -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'; |