when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app its magic!remotes/origin/stable6
parent
09cfebe936
commit
9e39118b52
@ -1,7 +1,7 @@ |
||||
<?php |
||||
|
||||
OC::$CLASSPATH['OCA\Files_Trashbin\Hooks'] = 'files_trashbin/lib/hooks.php'; |
||||
OC::$CLASSPATH['OCA\Files_Trashbin\Trashbin'] = 'files_trashbin/lib/trash.php'; |
||||
//OC::$CLASSPATH['OCA\Files_Trashbin\Hooks'] = 'files_trashbin/lib/hooks.php'; |
||||
//OC::$CLASSPATH['OCA\Files_Trashbin\Trashbin'] = 'files_trashbin/lib/trash.php'; |
||||
|
||||
// register hooks |
||||
\OCA\Files_Trashbin\Trashbin::registerHooks(); |
||||
|
Loading…
Reference in new issue