Switching from "new share" to "old share"
This commit is contained in:
parent
1b0b686116
commit
e70b110984
10 changed files with 13 additions and 13 deletions
|
@ -18,7 +18,7 @@ function share_init(&$a) {
|
|||
if(! count($r) || ($r[0]['private'] == 1))
|
||||
killme();
|
||||
|
||||
if (intval(get_config('system','new_share'))) {
|
||||
if (!intval(get_config('system','old_share'))) {
|
||||
if (strpos($r[0]['body'], "[/share]") !== false) {
|
||||
$pos = strpos($r[0]['body'], "[share");
|
||||
$o = substr($r[0]['body'], $pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue