mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Coding convention applied:
- space between "if" and brace - curly braces on conditional blocks Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
dac1dbd3e9
commit
fb676335db
53 changed files with 117 additions and 87 deletions
|
@ -225,7 +225,7 @@ function settings_post(&$a) {
|
|||
$r = q("SELECT * FROM `mailacct` WHERE `uid` = %d LIMIT 1",
|
||||
intval(local_user())
|
||||
);
|
||||
if(! dbm::is_result($r)) {
|
||||
if (! dbm::is_result($r)) {
|
||||
q("INSERT INTO `mailacct` (`uid`) VALUES (%d)",
|
||||
intval(local_user())
|
||||
);
|
||||
|
@ -752,8 +752,9 @@ function settings_content(&$a) {
|
|||
$settings_addons = "";
|
||||
|
||||
$r = q("SELECT * FROM `hook` WHERE `hook` = 'plugin_settings' ");
|
||||
if(! dbm::is_result($r))
|
||||
if (! dbm::is_result($r)) {
|
||||
$settings_addons = t('No Plugin settings configured');
|
||||
}
|
||||
|
||||
call_hooks('plugin_settings', $settings_addons);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue