Cleanup Nextcloud code

This commit is contained in:
the-djmaze 2022-10-21 16:10:07 +02:00
parent c7833d622a
commit 79387262e3
6 changed files with 92 additions and 146 deletions

View file

@ -49,18 +49,6 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
/*
\OC::$server->getCalendarManager();
\OC::$server->getLDAPProvider();
$oFiles = \OCP\Files::getStorage('files');
if ($oFiles and $oFiles->is_dir('/')) {
$dh = $oFiles->opendir('/');
if (\is_resource($dh)) {
while (($file = \readdir($dh)) !== false) {
if ($file != '.' && $file != '..') {
// DO THINGS
}
}
}
}
*/
public function NextcloudAttachFile() : array