aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-26 14:52:55 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-26 14:52:55 +0200
commit3f64eb25ab89964127681a52265207dbeb7e1e9b (patch)
tree183f713b4d443f77b5d5bd05350ce069eecb79f0 /index.php
parentb75f680b8e560be82f5c63bfc5480452a3de12d9 (diff)
downloadnextcloud-server-3f64eb25ab89964127681a52265207dbeb7e1e9b.tar.gz
nextcloud-server-3f64eb25ab89964127681a52265207dbeb7e1e9b.zip
some fixes fore movable apps
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/index.php b/index.php
index a3835c6d2f3..787485555fb 100644
--- a/index.php
+++ b/index.php
@@ -50,14 +50,12 @@ if($_SERVER['REQUEST_METHOD']=='PROPFIND'){
// Someone is logged in :
elseif(OC_User::isLoggedIn()) {
+ OC_App::loadApps();
if(isset($_GET["logout"]) and ($_GET["logout"])) {
- OC_App::loadApps();
OC_User::logout();
header("Location: ".OC::$WEBROOT.'/');
exit();
- }
- else {
- OC_App::loadApps();
+ }else{
if(is_null(OC::$REQUESTEDFILE)){
OC::loadapp();
}else{