Merge pull request #12554 from owncloud/versions-app-autoload
Autoload lib files of versions app
This commit is contained in:
commit
8c8c257ce3
|
@ -3,8 +3,6 @@ $l = \OC::$server->getL10N('files_trashbin');
|
|||
|
||||
OCP\Util::addTranslations('files_trashbin');
|
||||
|
||||
OC::$CLASSPATH['OCA\Files_Trashbin\Exceptions\CopyRecursiveException'] = 'files_trashbin/lib/exceptions.php';
|
||||
|
||||
// register hooks
|
||||
\OCA\Files_Trashbin\Trashbin::registerHooks();
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
<?php
|
||||
|
||||
//require_once 'files_versions/versions.php';
|
||||
OC::$CLASSPATH['OCA\Files_Versions\Storage'] = 'files_versions/lib/versions.php';
|
||||
OC::$CLASSPATH['OCA\Files_Versions\Hooks'] = 'files_versions/lib/hooks.php';
|
||||
OC::$CLASSPATH['OCA\Files_Versions\Capabilities'] = 'files_versions/lib/capabilities.php';
|
||||
|
||||
OCP\Util::addTranslations('files_versions');
|
||||
OCP\Util::addscript('files_versions', 'versions');
|
||||
OCP\Util::addStyle('files_versions', 'versions');
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
|
||||
require_once __DIR__ . '/../appinfo/app.php';
|
||||
require_once __DIR__ . '/../lib/versions.php';
|
||||
|
||||
/**
|
||||
* Class Test_Files_versions
|
||||
|
|
Loading…
Reference in New Issue