Switching from "new share" to "old share"

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

View file

@ -1040,7 +1040,7 @@ function diaspora_reshare($importer,$xml,$msg) {
$datarray['owner-name'] = $contact['name'];
$datarray['owner-link'] = $contact['url'];
$datarray['owner-avatar'] = ((x($contact,'thumb')) ? $contact['thumb'] : $contact['photo']);
if (intval(get_config('system','new_share'))) {
if (!intval(get_config('system','wall-to-wall_share'))) {
$prefix = "[share author='".str_replace("'", "'",$person['name']).
"' profile='".$person['url'].
"' avatar='".((x($person,'thumb')) ? $person['thumb'] : $person['photo']).