1
0
Fork 0

Switching from "new share" to "old share"

This commit is contained in:
Michael Vogel 2013-10-15 00:49:49 +02:00
commit e70b110984
10 changed files with 13 additions and 13 deletions

View file

@ -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);