Class file relocations

Issue #3878
This commit is contained in:
Adam Magness 2017-11-07 22:57:46 -05:00
commit 4ca68c7af0
151 changed files with 987 additions and 8742 deletions

View file

@ -73,7 +73,7 @@ If there are only a handful of references to a single non-namespaced class, just
````php
namespace Friendica\Core;
...
if (\dbm::is_result($r)) {
if (\DBM::is_result($r)) {
...
}
````
@ -82,7 +82,7 @@ namespace Friendica\Core;
use \dbm;
if (dbm::is_result($r)) {
if (DBM::is_result($r)) {
...
}
````

View file

@ -104,7 +104,7 @@ class Dfrn {
mail_post($a){
...
Friendica\dfrn::mail($item, $owner);
Friendica\DFRN::mail($item, $owner);
...
}
```
@ -125,12 +125,12 @@ switch($contact['network']) {
case NETWORK_DFRN:
if ($mail) {
$item['body'] = ...
$atom = Dfrn::mail($item, $owner);
$atom = DFRN::mail($item, $owner);
} elseif ($fsuggest) {
$atom = Dfrn::fsuggest($item, $owner);
$atom = DFRN::fsuggest($item, $owner);
q("DELETE FROM `fsuggest` WHERE `id` = %d LIMIT 1", intval($item['id']));
} elseif ($relocate)
$atom = Dfrn::relocate($owner, $uid);
$atom = DFRN::relocate($owner, $uid);
[...]
```