apps/files_trashbin/lib/Hooks.php
/**
	 * clean up user specific settings if user gets deleted
	 * @param array $params array with uid
	 *
	 * This function is connected to the pre_deleteUser signal of OC_Users
	 * to remove the used space for the trash bin stored in the database
	 */
clean up user specific settings if user gets deleted
@param array $params array with uid

This function is connected to the pre_deleteUser signal of OC_Users
to remove the used space for the trash bin stored in the database
clean up user specific settings if user gets deleted @param array $params array with uid This function is connected to the pre_deleteUser signal of OC_Users to remove the used space for the trash bin stored in the database
public static function deleteUser_hook($params) {
		if( \OCP\App::isEnabled('files_trashbin') ) {
			$uid = $params['uid'];
			Trashbin::deleteUser($uid);
		}
	}
public static function deleteUser_hook ( $ params ) { if ( \ OCP \ App :: isEnabled ( 'files_trashbin' ) ) { $ uid = $ params [ 'uid' ] ; Trashbin :: deleteUser ( $ uid ) ; } }
clean up user specific settings if user gets deleted
 @param array $params array with uid
clean up user specific settings if user gets deleted @param array $params array with uid