diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 20:46:15 +0400 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 20:46:15 +0400 |
commit | 5bf69237b2471df9ee979200b19e0ce203df2a31 (patch) | |
tree | 3ad707ac9af71a1edb4d3101dd6b16dbde05b716 /apps/calendar | |
parent | d0554bef069b29affa95ec3c2bf78af637703a90 (diff) |
ported isLoggedIn
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/ajax/event/edit.form.php | 2 | ||||
-rw-r--r-- | apps/calendar/ajax/event/new.form.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/ajax/event/edit.form.php b/apps/calendar/ajax/event/edit.form.php index e963da32958..e2b23d71f9b 100644 --- a/apps/calendar/ajax/event/edit.form.php +++ b/apps/calendar/ajax/event/edit.form.php @@ -8,7 +8,7 @@ -if(!OC_USER::isLoggedIn()) { +if(!OCP\User::isLoggedIn()) { die('<script type="text/javascript">document.location = oc_webroot;</script>'); } OC_JSON::checkAppEnabled('calendar'); diff --git a/apps/calendar/ajax/event/new.form.php b/apps/calendar/ajax/event/new.form.php index 62087e9a817..155e3dc371e 100644 --- a/apps/calendar/ajax/event/new.form.php +++ b/apps/calendar/ajax/event/new.form.php @@ -8,7 +8,7 @@ -if(!OC_USER::isLoggedIn()) { +if(!OCP\User::isLoggedIn()) { die('<script type="text/javascript">document.location = oc_webroot;</script>'); } OC_JSON::checkAppEnabled('calendar'); |