mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +00:00
Rename App Methods
- renamed a lot of App methods to CamelCase - replaced direct public variables with get-/set-Methods
This commit is contained in:
parent
5f9dd11cfb
commit
5a02e39a65
94 changed files with 481 additions and 338 deletions
|
@ -570,7 +570,7 @@ class DBA
|
|||
self::$errorno = $errorno;
|
||||
}
|
||||
|
||||
$a->save_timestamp($stamp1, 'database');
|
||||
$a->saveTimestamp($stamp1, 'database');
|
||||
|
||||
if ($a->getConfigValue('system', 'db_log')) {
|
||||
$stamp2 = microtime(true);
|
||||
|
@ -641,7 +641,7 @@ class DBA
|
|||
self::$errorno = $errorno;
|
||||
}
|
||||
|
||||
$a->save_timestamp($stamp, "database_write");
|
||||
$a->saveTimestamp($stamp, "database_write");
|
||||
|
||||
return $retval;
|
||||
}
|
||||
|
@ -809,7 +809,7 @@ class DBA
|
|||
}
|
||||
}
|
||||
|
||||
$a->save_timestamp($stamp1, 'database');
|
||||
$a->saveTimestamp($stamp1, 'database');
|
||||
|
||||
return $columns;
|
||||
}
|
||||
|
@ -1547,7 +1547,7 @@ class DBA
|
|||
break;
|
||||
}
|
||||
|
||||
$a->save_timestamp($stamp1, 'database');
|
||||
$a->saveTimestamp($stamp1, 'database');
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
|
|
@ -842,7 +842,7 @@ class DBStructure
|
|||
public static function definition() {
|
||||
$a = \Friendica\BaseObject::getApp();
|
||||
|
||||
$filename = $a->get_basepath() . '/config/dbstructure.json';
|
||||
$filename = $a->getBasePath() . '/config/dbstructure.json';
|
||||
|
||||
if (!is_readable($filename)) {
|
||||
throw new Exception('Missing database structure config file config/dbstructure.json');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue