--- /dev/null
+[
+ "shareconfigmodel.js",
+ "shareitemmodel.js",
+ "sharesocialmanager.js",
+ "sharedialogresharerinfoview.js",
+ "sharedialoglinkshareview.js",
+ "sharedialogexpirationview.js",
+ "sharedialogshareelistview.js",
+ "sharedialogview.js",
+ "share.js"
+]
use OCP\IUserSession;
use OCP\IDBConnection;
use OCP\IConfig;
+use OCP\Util;
/**
* This class provides the ability for apps to share their content between users.
'supportedFileExtensions' => $supportedFileExtensions
);
if(count(self::$backendTypes) === 1) {
- \OC_Util::addScript('core', 'shareconfigmodel');
- \OC_Util::addScript('core', 'shareitemmodel');
- \OC_Util::addScript('core', 'sharesocialmanager');
- \OC_Util::addScript('core', 'sharedialogresharerinfoview');
- \OC_Util::addScript('core', 'sharedialoglinkshareview');
- \OC_Util::addScript('core', 'sharedialogexpirationview');
- \OC_Util::addScript('core', 'sharedialogshareelistview');
- \OC_Util::addScript('core', 'sharedialogview');
- \OC_Util::addScript('core', 'share');
+ Util::addScript('core', 'merged-share-backend');
\OC_Util::addStyle('core', 'share');
}
return true;