summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2013-02-09 12:05:48 +0000
committerTom Needham <tom@owncloud.com>2013-02-09 12:05:48 +0000
commit5d14a2cc463f09d010537a5537e3339a87d57558 (patch)
treee53b4fece6b204e7ffdaaa6ce3601ddaf25b5ba6 /lib/app.php
parenteefaefe87d4ef2271c7a079632744948ca8d2496 (diff)
parent0c73cae77b402355809c8f5f5be69d8a730fe3e2 (diff)
downloadnextcloud-server-5d14a2cc463f09d010537a5537e3339a87d57558.tar.gz
nextcloud-server-5d14a2cc463f09d010537a5537e3339a87d57558.zip
Merge in master
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php
index fa3e14ce4d2..3a4e21e8cd1 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -36,6 +36,7 @@ class OC_App{
static private $appTypes = array();
static private $loadedApps = array();
static private $checkedApps = array();
+ static private $altLogin = array();
/**
* @brief loads all apps
@@ -568,6 +569,14 @@ class OC_App{
self::$personalForms[]= $app.'/'.$page.'.php';
}
+ public static function registerLogIn($entry) {
+ self::$altLogin[] = $entry;
+ }
+
+ public static function getAlternativeLogIns() {
+ return self::$altLogin;
+ }
+
/**
* @brief: get a list of all apps in the apps folder
* @return array or app names (string IDs)