<?php

$includes = [
    'Files' => 'files',
    'Files_Sharing' => 'files',
];

$eventDispatcher = \OC::$server->getEventDispatcher();

/*$eventDispatcher->addListener(\OCP\AppFramework\Http\TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN, function() {
	\OCP\Util::addScript('files_rightclick', 'script');
});
      \OCP\Util::addScript('files_rightclick', 'script');
            \OCP\Util::addScript('files_rightclick', 'files');
            \OCP\Util::addStyle('files_rightclick', 'app');
 
    $eventDispatcher->addListener(
        'OCA\files::loadAdditionalScripts',
        function () {
            \OCP\Util::addScript('files_rightclick', 'script');
            \OCP\Util::addScript('files_rightclick', 'files');
            \OCP\Util::addStyle('files_rightclick', 'app');
        }
    );*/
 
