1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-10 21:24:33 +01:00

selective app loading for remote/public

This commit is contained in:
Robin Appelman 2012-05-14 00:28:22 +02:00
parent 967134ccb6
commit 0f3de1ee41

View File

@ -22,6 +22,10 @@
OCP\App::checkAppEnabled('contacts'); OCP\App::checkAppEnabled('contacts');
// only need authentication apps
$RUNTIME_APPTYPES=array('authentication');
OC_App::loadApps($RUNTIME_APPTYPES);
// Backends // Backends
$authBackend = new OC_Connector_Sabre_Auth(); $authBackend = new OC_Connector_Sabre_Auth();
$principalBackend = new OC_Connector_Sabre_Principal(); $principalBackend = new OC_Connector_Sabre_Principal();