Roeland Jago Douma
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
6 additions and
6 deletions
lib/private/Server.php
lib/private/SubAdmin.php
lib/private/legacy/OC_DB.php
lib/public/WorkflowEngine/IManager.php
@ -2283,7 +2283,7 @@ class Server extends ServerContainer implements IServerContainer {
try {
/** @var ILogger $logger */
$logger = $container -> get ( ILogger :: class );
$logger -> debug ( 'The requested alias "' . $alias . '" is deprea cted. Please request "' . $target . '" directly. This alias will be removed in a future Nextcloud version.' , [ 'app' => 'serverDI' ]);
$logger -> debug ( 'The requested alias "' . $alias . '" is depreca ted. Please request "' . $target . '" directly. This alias will be removed in a future Nextcloud version.' , [ 'app' => 'serverDI' ]);
} catch ( ContainerExceptionInterface $e ) {
// Could not get logger. Continue
}
@ -93,7 +93,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
])
-> execute ();
/** @deprea cted 21.0.0 - use type SubAdminAddedEvent instead */
/** @depreca ted 21.0.0 - use type SubAdminAddedEvent instead */
$this -> emit ( '\OC\SubAdmin' , 'postCreateSubAdmin' , [ $user , $group ]);
$event = new SubAdminAddedEvent ( $group , $user );
$this -> eventDispatcher -> dispatchTyped ( $event );
@ -112,7 +112,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
-> andWhere ( $qb -> expr () -> eq ( 'uid' , $qb -> createNamedParameter ( $user -> getUID ())))
-> execute ();
/** @deprea cted 21.0.0 - use type SubAdminRemovedEvent instead */
/** @depreca ted 21.0.0 - use type SubAdminRemovedEvent instead */
$this -> emit ( '\OC\SubAdmin' , 'postDeleteSubAdmin' , [ $user , $group ]);
$event = new SubAdminRemovedEvent ( $group , $user );
$this -> eventDispatcher -> dispatchTyped ( $event );
@ -55,7 +55,7 @@ class OC_DB {
* @ param bool | null $isManipulation
* @ throws \OC\DatabaseException
* @ return OC_DB_StatementWrapper prepared SQL query
* @ deprea cted 21.0 . 0 Please use \OCP\IDBConnection :: getQueryBuilder () instead
* @ depreca ted 21.0 . 0 Please use \OCP\IDBConnection :: getQueryBuilder () instead
*
* SQL query via Doctrine prepare (), needs to be execute () ' d !
*/
@ -117,7 +117,7 @@ class OC_DB {
* @ param array $parameters
* @ return OC_DB_StatementWrapper
* @ throws \OC\DatabaseException
* @ deprea cted 21.0 . 0 Please use \OCP\IDBConnection :: getQueryBuilder () instead
* @ depreca ted 21.0 . 0 Please use \OCP\IDBConnection :: getQueryBuilder () instead
*/
public static function executeAudited ( $stmt , array $parameters = []) {
if ( is_string ( $stmt )) {
@ -46,7 +46,7 @@ interface IManager {
public const MAX_OPERATION_VALUE_BYTES = 4096 ;
/**
* @ deprea cted Will be removed in NC19 . Use the dedicated events in OCP\WorkflowEngine\Events
* @ depreca ted Will be removed in NC19 . Use the dedicated events in OCP\WorkflowEngine\Events
*/
public const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations' ;
public const EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities' ;