Remove trailing whitespaces from comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
44577e4345
commit
a8a06a82d2
|
@ -189,7 +189,7 @@ class SystemTagsObjectMappingCollection implements ICollection {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a sabre node for the mapping of the
|
* Create a sabre node for the mapping of the
|
||||||
* given system tag to the collection's object
|
* given system tag to the collection's object
|
||||||
*
|
*
|
||||||
* @param ISystemTag $tag
|
* @param ISystemTag $tag
|
||||||
|
|
|
@ -142,7 +142,7 @@
|
||||||
});
|
});
|
||||||
?>
|
?>
|
||||||
<?php foreach ($sortedBackends as $backend): ?>
|
<?php foreach ($sortedBackends as $backend): ?>
|
||||||
<?php if ($backend->getDeprecateTo()) continue; // ignore deprecated backends ?>
|
<?php if ($backend->getDeprecateTo()) continue; // ignore deprecated backends?>
|
||||||
<option value="<?php p($backend->getIdentifier()); ?>"><?php p($backend->getText()); ?></option>
|
<option value="<?php p($backend->getIdentifier()); ?>"><?php p($backend->getText()); ?></option>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -129,7 +129,7 @@ class Expiration {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read versions_retention_obligation, validate it
|
* Read versions_retention_obligation, validate it
|
||||||
* and set private members accordingly
|
* and set private members accordingly
|
||||||
*/
|
*/
|
||||||
private function parseRetentionObligation() {
|
private function parseRetentionObligation() {
|
||||||
|
|
|
@ -311,7 +311,7 @@ class Configuration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets multi-line values as arrays
|
* Sets multi-line values as arrays
|
||||||
*
|
*
|
||||||
* @param string $varName name of config-key
|
* @param string $varName name of config-key
|
||||||
* @param array|string $value to set
|
* @param array|string $value to set
|
||||||
*/
|
*/
|
||||||
|
@ -387,7 +387,7 @@ class Configuration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a scalar value.
|
* Sets a scalar value.
|
||||||
*
|
*
|
||||||
* @param string $varName name of config key
|
* @param string $varName name of config key
|
||||||
* @param mixed $value to set
|
* @param mixed $value to set
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -114,7 +114,7 @@ class LDAPProvider implements ILDAPProvider, IDeletionFlagSupport {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Translate a LDAP DN to an internal user name. If there is no mapping between
|
* Translate a LDAP DN to an internal user name. If there is no mapping between
|
||||||
* the DN and the user name, a new one will be created.
|
* the DN and the user name, a new one will be created.
|
||||||
* @param string $dn LDAP DN
|
* @param string $dn LDAP DN
|
||||||
* @return string with the internal user name
|
* @return string with the internal user name
|
||||||
|
@ -147,7 +147,7 @@ class LDAPProvider implements ILDAPProvider, IDeletionFlagSupport {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a new LDAP connection resource for the specified user.
|
* Return a new LDAP connection resource for the specified user.
|
||||||
* The connection must be closed manually.
|
* The connection must be closed manually.
|
||||||
* @param string $uid user id
|
* @param string $uid user id
|
||||||
* @return resource of the LDAP connection
|
* @return resource of the LDAP connection
|
||||||
|
|
|
@ -36,7 +36,7 @@ use OCA\User_LDAP\LDAP;
|
||||||
*
|
*
|
||||||
* LDAP must be available via toxiproxy.
|
* LDAP must be available via toxiproxy.
|
||||||
*
|
*
|
||||||
* This test must be run manually.
|
* This test must be run manually.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class ExceptionOnLostConnection {
|
class ExceptionOnLostConnection {
|
||||||
|
|
|
@ -75,7 +75,7 @@ script('core', [
|
||||||
<?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>
|
<?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>
|
||||||
<fieldset id='databaseBackend'>
|
<fieldset id='databaseBackend'>
|
||||||
<?php if($_['hasMySQL'] or $_['hasPostgreSQL'] or $_['hasOracle'])
|
<?php if($_['hasMySQL'] or $_['hasPostgreSQL'] or $_['hasOracle'])
|
||||||
$hasOtherDB = true; else $hasOtherDB =false; //other than SQLite ?>
|
$hasOtherDB = true; else $hasOtherDB =false; //other than SQLite?>
|
||||||
<legend><?php p($l->t('Configure the database')); ?></legend>
|
<legend><?php p($l->t('Configure the database')); ?></legend>
|
||||||
<div id="selectDbType">
|
<div id="selectDbType">
|
||||||
<?php foreach($_['databases'] as $type => $label): ?>
|
<?php foreach($_['databases'] as $type => $label): ?>
|
||||||
|
|
|
@ -125,7 +125,7 @@ namespace OC {
|
||||||
/**
|
/**
|
||||||
* Return a list of the user's addressbooks display names
|
* Return a list of the user's addressbooks display names
|
||||||
* ! The addressBook displayName are not unique, please use getUserAddressBooks
|
* ! The addressBook displayName are not unique, please use getUserAddressBooks
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
* @since 6.0.0
|
* @since 6.0.0
|
||||||
* @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
|
* @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
|
||||||
|
@ -142,7 +142,7 @@ namespace OC {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a list of the user's addressbooks
|
* Return a list of the user's addressbooks
|
||||||
*
|
*
|
||||||
* @return IAddressBook[]
|
* @return IAddressBook[]
|
||||||
* @since 16.0.0
|
* @since 16.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -119,7 +119,7 @@ class DateTimeZone implements IDateTimeZone {
|
||||||
* Get the default timezone of the server
|
* Get the default timezone of the server
|
||||||
*
|
*
|
||||||
* Falls back to UTC if it is not yet set.
|
* Falls back to UTC if it is not yet set.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function getDefaultTimeZone() {
|
protected function getDefaultTimeZone() {
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Audio extends File {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type name; translated in templates
|
* Type name; translated in templates
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $type = 'audio';
|
public $type = 'audio';
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class File extends \OCP\Search\Result {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type name; translated in templates
|
* Type name; translated in templates
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $type = 'file';
|
public $type = 'file';
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ class File extends \OCP\Search\Result {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Size, in bytes
|
* Size, in bytes
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $size;
|
public $size;
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ class File extends \OCP\Search\Result {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* File permissions:
|
* File permissions:
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $permissions;
|
public $permissions;
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Folder extends File {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type name; translated in templates
|
* Type name; translated in templates
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $type = 'folder';
|
public $type = 'folder';
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Image extends File {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type name; translated in templates
|
* Type name; translated in templates
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $type = 'image';
|
public $type = 'image';
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ use OCP\IUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Nextcloud 2FA provider registry for stateful 2FA providers
|
* Nextcloud 2FA provider registry for stateful 2FA providers
|
||||||
*
|
*
|
||||||
* This service keeps track of which providers are currently active for a specific
|
* This service keeps track of which providers are currently active for a specific
|
||||||
* user. Stateful 2FA providers (IStatefulProvider) must use this service to save
|
* user. Stateful 2FA providers (IStatefulProvider) must use this service to save
|
||||||
* their enabled/disabled state.
|
* their enabled/disabled state.
|
||||||
|
|
|
@ -160,7 +160,7 @@ interface IManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a list of the user's addressbooks display names
|
* Return a list of the user's addressbooks display names
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
* @since 6.0.0
|
* @since 6.0.0
|
||||||
* @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
|
* @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
|
||||||
|
@ -169,7 +169,7 @@ interface IManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a list of the user's addressbooks
|
* Return a list of the user's addressbooks
|
||||||
*
|
*
|
||||||
* @return IAddressBook[]
|
* @return IAddressBook[]
|
||||||
* @since 16.0.0
|
* @since 16.0.0
|
||||||
*/
|
*/
|
||||||
|
@ -177,7 +177,7 @@ interface IManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* removes all registered address book instances
|
* removes all registered address book instances
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @since 6.0.0
|
* @since 6.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -35,10 +35,10 @@ use Doctrine\DBAL\Logging\SQLLogger;
|
||||||
*/
|
*/
|
||||||
interface IQueryLogger extends SQLLogger {
|
interface IQueryLogger extends SQLLogger {
|
||||||
/**
|
/**
|
||||||
* Mark the start of a query providing query SQL statement, its parameters and types.
|
* Mark the start of a query providing query SQL statement, its parameters and types.
|
||||||
* This method should be called as close to the DB as possible and after
|
* This method should be called as close to the DB as possible and after
|
||||||
* query is finished finalized with stopQuery() method.
|
* query is finished finalized with stopQuery() method.
|
||||||
*
|
*
|
||||||
* @param string $sql
|
* @param string $sql
|
||||||
* @param array|null $params
|
* @param array|null $params
|
||||||
* @param array|null $types
|
* @param array|null $types
|
||||||
|
@ -49,7 +49,7 @@ interface IQueryLogger extends SQLLogger {
|
||||||
/**
|
/**
|
||||||
* Mark the end of the current active query. Ending query should store \OCP\Diagnostics\IQuery to
|
* Mark the end of the current active query. Ending query should store \OCP\Diagnostics\IQuery to
|
||||||
* be returned with getQueries() method.
|
* be returned with getQueries() method.
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @since 8.0.0
|
* @since 8.0.0
|
||||||
*/
|
*/
|
||||||
|
@ -58,7 +58,7 @@ interface IQueryLogger extends SQLLogger {
|
||||||
/**
|
/**
|
||||||
* This method should return all \OCP\Diagnostics\IQuery objects stored using
|
* This method should return all \OCP\Diagnostics\IQuery objects stored using
|
||||||
* startQuery()/stopQuery() methods.
|
* startQuery()/stopQuery() methods.
|
||||||
*
|
*
|
||||||
* @return \OCP\Diagnostics\IQuery[]
|
* @return \OCP\Diagnostics\IQuery[]
|
||||||
* @since 8.0.0
|
* @since 8.0.0
|
||||||
*/
|
*/
|
||||||
|
@ -67,8 +67,8 @@ interface IQueryLogger extends SQLLogger {
|
||||||
/**
|
/**
|
||||||
* Activate the module for the duration of the request. Deactivated module
|
* Activate the module for the duration of the request. Deactivated module
|
||||||
* does not create and store \OCP\Diagnostics\IQuery objects.
|
* does not create and store \OCP\Diagnostics\IQuery objects.
|
||||||
* Only activated module should create and store objects to be
|
* Only activated module should create and store objects to be
|
||||||
* returned with getQueries() call.
|
* returned with getQueries() call.
|
||||||
*
|
*
|
||||||
* @since 12.0.0
|
* @since 12.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -76,7 +76,7 @@ interface ILDAPProvider {
|
||||||
public function sanitizeDN($dn);
|
public function sanitizeDN($dn);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a new LDAP connection resource for the specified user.
|
* Return a new LDAP connection resource for the specified user.
|
||||||
* @param string $uid user id
|
* @param string $uid user id
|
||||||
* @return resource of the LDAP connection
|
* @return resource of the LDAP connection
|
||||||
* @since 11.0.0
|
* @since 11.0.0
|
||||||
|
|
|
@ -56,7 +56,7 @@ class Result {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of search result returned; for consistency, name this the same
|
* The type of search result returned; for consistency, name this the same
|
||||||
* as the class name (e.g. \OC\Search\File -> 'file') in lowercase.
|
* as the class name (e.g. \OC\Search\File -> 'file') in lowercase.
|
||||||
* @var string
|
* @var string
|
||||||
* @since 7.0.0
|
* @since 7.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -51,7 +51,7 @@ interface ISecureRandom {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Characters that can be used for <code>generate($length, $characters)</code>, to
|
* Characters that can be used for <code>generate($length, $characters)</code>, to
|
||||||
* generate human readable random strings. Lower- and upper-case characters and digits
|
* generate human readable random strings. Lower- and upper-case characters and digits
|
||||||
* are included. Characters which are ambiguous are excluded, such as I, l, and 1 and so on.
|
* are included. Characters which are ambiguous are excluded, such as I, l, and 1 and so on.
|
||||||
*/
|
*/
|
||||||
const CHAR_HUMAN_READABLE = 'abcdefgijkmnopqrstwxyzABCDEFGHJKLMNPQRSTWXYZ23456789';
|
const CHAR_HUMAN_READABLE = 'abcdefgijkmnopqrstwxyzABCDEFGHJKLMNPQRSTWXYZ23456789';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2017, Daniel Calviño Sánchez (danxuliu@gmail.com)
|
* @copyright Copyright (c) 2017, Daniel Calviño Sánchez (danxuliu@gmail.com)
|
||||||
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||||
*
|
*
|
||||||
* @license GNU AGPL version 3 or any later version
|
* @license GNU AGPL version 3 or any later version
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2017, Daniel Calviño Sánchez (danxuliu@gmail.com)
|
* @copyright Copyright (c) 2017, Daniel Calviño Sánchez (danxuliu@gmail.com)
|
||||||
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||||
*
|
*
|
||||||
* @license GNU AGPL version 3 or any later version
|
* @license GNU AGPL version 3 or any later version
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
||||||
*
|
*
|
||||||
* @license GNU AGPL version 3 or any later version
|
* @license GNU AGPL version 3 or any later version
|
||||||
|
|
|
@ -103,7 +103,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function menuItems() {
|
public function menuItems() {
|
||||||
return $this->actor->find(self::settingsMenu(), 10)
|
return $this->actor->find(self::settingsMenu(), 10)
|
||||||
|
|
Loading…
Reference in New Issue