Skip to content
Snippets Groups Projects
Commit e88b2290 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

made plugin classes available in the plugin constructor

parent 18935e6f
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,16 @@ require_once __DIR__."/classes/OwncloudFolder.php";
class OwnCloudPlugin extends StudIPPlugin implements FilesystemPlugin {
public function __construct()
{
//Make the plugin classes available:
class_exists('Owncloud\OAuth');
class_exists('OwncloudFile');
class_exists('OwncloudFolder');
parent::__construct();
}
public function getFileSelectNavigation()
{
$nav = new Navigation(Config::get()->OWNCLOUD_NAME);
......
......@@ -562,5 +562,4 @@ class OwncloudFolder extends VirtualFolderType {
{
return [];
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment