Hypolite Petovan
56ee734b00
Cleanup /format pre-move
3 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
3 years ago
Roland Häder
0cd241bcbe
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Hypolite Petovan
8a197055e3
Normalize App parameter declaration (mod folder, 1 out of 3)
4 years ago
Roland Häder
61c1317f80
added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
ace8f753ac
added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
mod/bookmarklet.php
mod/community.php
mod/contacts.php
mod/crepair.php
mod/events.php
mod/network.php
mod/suggest.php
mod/uexport.php
view/theme/duepuntozero/config.php
view/theme/frio/config.php
view/theme/quattro/config.php
view/theme/vier/config.php
4 years ago
Roland Häder
e24c3a5b82
added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
4dce3d8224
changed to this:
---------------------
function bla (App &$a) {
$a->bla = 'stuff';
}
---------------------
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
98b7270295
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
abff6372dd
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
fb676335db
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
46d383369c
Cleanup for #3010 - added spaces, thanks to @annando .
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Haeder
3e701b90ac
Continued rewriting:
- use dba::is_result() everywhere (where I found the old, bad way)
- converted some spaces -> tabs for code
- converted some CRLF -> LF as mixures of both is not good
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
fabrixxm
b202e02fbf
Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802
.
5 years ago
Andrej Stieben
db949bb802
Updated modules to allow for partial overrides without errors
Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
5 years ago
friendica
8aa2552372
add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit)
9 years ago
Friendika
e22e823e93
allow group selection from contact edit page
9 years ago