]> git.mxchange.org Git - friendica.git/commit
Some rewrites:
authorRoland Häder <roland@mxchange.org>
Tue, 13 Dec 2016 09:16:36 +0000 (10:16 +0100)
committerRoland Häder <roland@mxchange.org>
Tue, 13 Dec 2016 09:16:36 +0000 (10:16 +0100)
commit293436e5fd5110220c969513858dbb979f1f35d3
tree40df6b79194d49d3ed09601c514e2de300892c16
parent47c60aa486f125b4a60d5524f9f889ed19b6795e
Some rewrites:
- max_proccesses_reach() and maxload_reached() (why no _ behind max?) are called
  both way, static and with object reference.
- this is strongly discouraged and should be avoided as its support (in PHP) may
  be dropped in future releases.
- used $a = get_app(); to encapsulate code (even when the function does
  currently the same, it may be changed later)

Signed-off-by: Roland Häder <roland@mxchange.org>
27 files changed:
boot.php
include/Core/Config.php
include/Core/PConfig.php
include/Probe.php
include/api.php
include/auth_ejabberd.php
include/cron.php
include/cronhooks.php
include/dba.php
include/dba_pdo.php
include/delivery.php
include/dfrn.php
include/discover_poco.php
include/enotify.php
include/event.php
include/files.php
include/oembed.php
include/pgettext.php
include/poller.php
include/socgraph.php
include/tags.php
include/text.php
mod/fbrowser.php
mod/fetch.php
mod/p.php
object/BaseObject.php
object/Conversation.php