dbName = empty($config['dbname']) ? ConnectionFactory::DEFAULT_DBNAME : $config['dbname']; $this->tablePrefix = empty($config['dbtableprefix']) ? ConnectionFactory::DEFAULT_DBTABLEPREFIX : $config['dbtableprefix']; if ($this->dbName !== ConnectionFactory::DEFAULT_DBNAME) { $this->config->setValue('dbname', $this->dbName); } if ($this->tablePrefix !== ConnectionFactory::DEFAULT_DBTABLEPREFIX) { $this->config->setValue('dbtableprefix', $this->tablePrefix); } } public function setupDatabase($username) { $datadir = $this->config->getValue( 'datadirectory', \OC::$SERVERROOT . '/data' ); $sqliteFile = $datadir . '/' . $this->dbName . 'db'; if (file_exists($sqliteFile)) { unlink($sqliteFile); } } } value='Jerome-Herbinet-better-devices-wipe-action-wording'>Jerome-Herbinet-better-devices-wipe-action-wording Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/utils/ClipboardFallback.ts
blob: b374f9d0a4451119250f0d35458bd1d16d9651f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47