Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ public function __construct($appName, $urlParams = array(), ServerContainer $ser
$server->getURLGenerator(),
$server->getLogger(),
$c['AppName'],
$app->isLoggedIn(),
$app->isAdminUser(),
$server->getUserSession()->isLoggedIn(),
$server->getGroupManager()->isAdmin($this->getUserId()),
$server->getContentSecurityPolicyManager(),
$server->getCsrfTokenManager(),
$server->getContentSecurityPolicyNonceManager(),
Expand Down
30 changes: 0 additions & 30 deletions lib/public/AppFramework/IAppContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ interface IAppContainer extends IContainer {
*/
public function getAppName();

/**
* @deprecated 8.0.0 implements only deprecated methods
* @return IApi
* @since 6.0.0
*/
public function getCoreApi();

/**
* @return \OCP\IServerContainer
* @since 6.0.0
Expand All @@ -64,29 +57,6 @@ public function getServer();
*/
public function registerMiddleWare($middleWare);

/**
* @deprecated 8.0.0 use IUserSession->isLoggedIn()
* @return boolean
* @since 6.0.0
*/
public function isLoggedIn();

/**
* @deprecated 8.0.0 use IGroupManager->isAdmin($userId)
* @return boolean
* @since 6.0.0
*/
public function isAdminUser();

/**
* @deprecated 8.0.0 use the ILogger instead
* @param string $message
* @param string $level
* @return mixed
* @since 6.0.0
*/
public function log($message, $level);

/**
* Register a capability
*
Expand Down