no need to have this twice

This commit is contained in:
marijus 2014-06-14 23:10:48 +02:00
parent b7b8303f8d
commit c80cf61a9b

View File

@ -169,7 +169,6 @@ function editwebpage_content(&$a) {
'$placeholdercategory' => t('Categories (comma-separated list)'), '$placeholdercategory' => t('Categories (comma-separated list)'),
'$emtitle' => t('Example: bob@example.com, mary@example.com'), '$emtitle' => t('Example: bob@example.com, mary@example.com'),
'lockstate' => (((strlen($itm[0]['allow_cid'])) || (strlen($itm[0]['allow_gid'])) || (strlen($itm[0]['deny_cid'])) || (strlen($itm[0]['deny_gid']))) ? 'lock' : 'unlock'), 'lockstate' => (((strlen($itm[0]['allow_cid'])) || (strlen($itm[0]['allow_gid'])) || (strlen($itm[0]['deny_cid'])) || (strlen($itm[0]['deny_gid']))) ? 'lock' : 'unlock'),
'$acl' => populate_acl($itm[0]),
'$bang' => '', '$bang' => '',
'$profile_uid' => (intval($owner)), '$profile_uid' => (intval($owner)),
'$preview' => ((feature_enabled(local_user(),'preview')) ? t('Preview') : ''), '$preview' => ((feature_enabled(local_user(),'preview')) ? t('Preview') : ''),