mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Cleanup Nextcloud code
This commit is contained in:
parent
c7833d622a
commit
79387262e3
6 changed files with 92 additions and 146 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue