Move registering shared storage out of base

This commit is contained in:
Michael Gapczynski 2011-08-01 10:58:15 -04:00
parent 57ca70e27c
commit ddfc9fc001
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,9 @@
<?php
require_once('apps/files_sharing/lib_share.php');
require_once('apps/files_sharing/sharedstorage.php');
OC_Filesystem::registerStorageType("shared", "OC_Filestorage_Shared", array("datadir"=>"string"));
OC_Util::addScript("files_sharing", "share");
OC_App::addNavigationSubEntry("files_index", array(
"id" => "files_sharing_list",

View File

@ -107,8 +107,6 @@ if(!$error and !$RUNTIME_NOAPPS ){
// Was in required file ... put it here
OC_Filesystem::registerStorageType('local','OC_Filestorage_Local',array('datadir'=>'string'));
require_once('apps/files_sharing/sharedstorage.php');
OC_Filesystem::registerStorageType('shared','OC_Filestorage_Shared',array('datadir'=>'string'));
// Set up file system unless forbidden
if(!$error and !$RUNTIME_NOSETUPFS ){