aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-03-04 15:05:30 +0100
committerVincent Petry <pvince81@owncloud.com>2015-03-25 18:33:21 +0100
commitac8254de6a4adc60733de1eec242893004bfcc5a (patch)
tree26428f7a54099ea7404b1545d31a9fb0834d1015
parentfc0c4990d53f00c9c06342b3de0a948e59baf201 (diff)
downloadnextcloud-server-ac8254de6a4adc60733de1eec242893004bfcc5a.tar.gz
nextcloud-server-ac8254de6a4adc60733de1eec242893004bfcc5a.zip
Rename platform
-rw-r--r--lib/private/db/connectionfactory.php2
-rw-r--r--lib/private/db/ocsqliteplatform.php (renamed from lib/private/db/sqliteplatform.php)2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/db/connectionfactory.php b/lib/private/db/connectionfactory.php
index c488bf82d1f..b86e7319ae7 100644
--- a/lib/private/db/connectionfactory.php
+++ b/lib/private/db/connectionfactory.php
@@ -96,7 +96,7 @@ class ConnectionFactory {
break;
case 'sqlite3':
$journalMode = $additionalConnectionParams['sqlite.journal_mode'];
- $additionalConnectionParams['platform'] = new SqlitePlatform();
+ $additionalConnectionParams['platform'] = new OCSqlitePlatform();
$eventManager->addEventSubscriber(new SQLiteSessionInit(true, $journalMode));
break;
}
diff --git a/lib/private/db/sqliteplatform.php b/lib/private/db/ocsqliteplatform.php
index b2eec7dd7bf..fe39e20c864 100644
--- a/lib/private/db/sqliteplatform.php
+++ b/lib/private/db/ocsqliteplatform.php
@@ -8,7 +8,7 @@
namespace OC\DB;
-class SqlitePlatform extends \Doctrine\DBAL\Platforms\SqlitePlatform {
+class OCSqlitePlatform extends \Doctrine\DBAL\Platforms\SqlitePlatform {
/**
* {@inheritDoc}
*/
t .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?php
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-only
 */
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal Nextcloud classes

namespace OCP\Authentication;

/**
 * Interface IProvideUserSecretBackend
 *
 * @since 23.0.0
 */
interface IProvideUserSecretBackend {
	/**
	 * Optionally returns a stable per-user secret. This secret is for
	 * instance used to secure file encryption keys.
	 * @return string
	 * @since 23.0.0
	 */
	public function getCurrentUserSecret(): string;
}