mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
parent
6189f6c8e7
commit
4ca68c7af0
151 changed files with 987 additions and 8742 deletions
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Database\DBM;
|
||||
|
||||
function share_init(App $a) {
|
||||
|
||||
|
@ -15,7 +16,7 @@ function share_init(App $a) {
|
|||
intval($post_id),
|
||||
intval(local_user())
|
||||
);
|
||||
if(! dbm::is_result($r) || ($r[0]['private'] == 1))
|
||||
if(! DBM::is_result($r) || ($r[0]['private'] == 1))
|
||||
killme();
|
||||
|
||||
if (strpos($r[0]['body'], "[/share]") !== false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue