mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +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)
|
||||
);
|
||||
|
||||
if (!DBM::is_result($qi)) {
|
||||
if (!DBA:isResult($qi)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -78,20 +78,20 @@ function diaspora_queue_hook(App $a, &$b) {
|
|||
intval($x['cid'])
|
||||
);
|
||||
|
||||
if (!DBM::is_result($r)) {
|
||||
if (!DBA:isResult($r)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$userdata = $r[0];
|
||||
|
||||
$handle = PConfig::get($userdata['uid'],'diaspora','handle');
|
||||
$password = PConfig::get($userdata['uid'],'diaspora','password');
|
||||
$aspect = PConfig::get($userdata['uid'],'diaspora','aspect');
|
||||
$handle = PConfig::get($userdata['uid'], 'diaspora', 'handle');
|
||||
$password = PConfig::get($userdata['uid'], 'diaspora', 'password');
|
||||
$aspect = PConfig::get($userdata['uid'], 'diaspora', 'aspect');
|
||||
|
||||
$success = false;
|
||||
|
||||
if ($handle && $password) {
|
||||
logger('diaspora_queue: able to post for user '.$handle);
|
||||
logger('diaspora_queue: able to post for user '.$handle);
|
||||
|
||||
$z = unserialize($x['content']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue