parent
6189f6c8e7
commit
4ca68c7af0
151 changed files with 987 additions and 8742 deletions
|
@ -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)) {
|
||||
...
|
||||
}
|
||||
````
|
||||
|
|
|
@ -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);
|
||||
[...]
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue