Switching from "new share" to "old share"
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user