mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 20:08:49 +00:00
[multiple] Rename Friendica\Database\dba to Friendica\Database\DBA
This commit is contained in:
parent
9463696159
commit
57505bdf82
13 changed files with 72 additions and 72 deletions
|
@ -14,7 +14,7 @@ use Friendica\Core\Addon;
|
|||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Database\dba;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
function tumblr_install() {
|
||||
Addon::registerHook('post_local', 'addon/tumblr/tumblr.php', 'tumblr_post_local');
|
||||
|
@ -332,7 +332,7 @@ function tumblr_send(&$a,&$b) {
|
|||
|
||||
// Dont't post if the post doesn't belong to us.
|
||||
// This is a check for forum postings
|
||||
$self = dba::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
|
||||
$self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
|
||||
if ($b['contact-id'] != $self['id']) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue