File tree Expand file tree Collapse file tree
apps/files_sharing/lib/Controller
lib/private/AppFramework/DependencyInjection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1811,23 +1811,6 @@ private function getDeckShareHelper() {
18111811 return $ this ->serverContainer ->get ('\OCA\Deck\Sharing\ShareAPIHelper ' );
18121812 }
18131813
1814- /**
1815- * Returns the helper of ShareAPIHelper for sciencemesh shares.
1816- *
1817- * If the sciencemesh application is not enabled or the helper is not available
1818- * a ContainerExceptionInterface is thrown instead.
1819- *
1820- * @return ShareAPIHelper
1821- * @throws ContainerExceptionInterface
1822- */
1823- private function getSciencemeshShareHelper () {
1824- if (!$ this ->appManager ->isEnabledForUser ('sciencemesh ' )) {
1825- throw new QueryException ();
1826- }
1827-
1828- return $ this ->serverContainer ->get ('\OCA\ScienceMesh\Sharing\ShareAPIHelper ' );
1829- }
1830-
18311814 /**
18321815 * @param string $viewer
18331816 * @param Node $node
Original file line number Diff line number Diff line change 2929use OC \AppFramework \Middleware \Security \SameSiteCookieMiddleware ;
3030use OC \AppFramework \Middleware \Security \SecurityMiddleware ;
3131use OC \AppFramework \Middleware \SessionMiddleware ;
32+ use OC \AppFramework \QueryException ;
3233use OC \AppFramework \ScopedPsrLogger ;
3334use OC \AppFramework \Services \AppConfig ;
3435use OC \AppFramework \Services \InitialState ;
You can’t perform that action at this time.
0 commit comments