mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-19 23:07:03 +00:00
[diaspora]:
- DBA::isResult() is now the new name (MrPetovan) - added spaces for nice indending and better readability - changed 4-spaces to tab
This commit is contained in:
parent
86704a6af2
commit
806b9d8290
1 changed files with 6 additions and 6 deletions
|
@ -62,7 +62,7 @@ function diaspora_queue_hook(App $a, &$b) {
|
||||||
DBA::escape(NETWORK_DIASPORA2)
|
DBA::escape(NETWORK_DIASPORA2)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!DBM::is_result($qi)) {
|
if (!DBA:isResult($qi)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,15 +78,15 @@ function diaspora_queue_hook(App $a, &$b) {
|
||||||
intval($x['cid'])
|
intval($x['cid'])
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!DBM::is_result($r)) {
|
if (!DBA:isResult($r)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$userdata = $r[0];
|
$userdata = $r[0];
|
||||||
|
|
||||||
$handle = PConfig::get($userdata['uid'],'diaspora','handle');
|
$handle = PConfig::get($userdata['uid'], 'diaspora', 'handle');
|
||||||
$password = PConfig::get($userdata['uid'],'diaspora','password');
|
$password = PConfig::get($userdata['uid'], 'diaspora', 'password');
|
||||||
$aspect = PConfig::get($userdata['uid'],'diaspora','aspect');
|
$aspect = PConfig::get($userdata['uid'], 'diaspora', 'aspect');
|
||||||
|
|
||||||
$success = false;
|
$success = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue