Version 5.0.0 beta 7
This commit is contained in:
1 parent
fa2a720105
commit
54d5dcd0a0
156 files changed
+4337
-2995
No files matched your search
@@ -827,17 +827,6 @@ class Records extends Item implements
|
||||
}
|
||||
}
|
||||
|
||||
if ( static::modPermission( 'feature', NULL, $container ) )
|
||||
{
|
||||
$options['feature'] = 'create_record_featured';
|
||||
$toggles['feature'] = array( 'create_record_featured' );
|
||||
|
||||
if ( $item AND $item->record_featured === 1 )
|
||||
{
|
||||
$values[] = 'feature';
|
||||
}
|
||||
}
|
||||
|
||||
if ( Member::loggedIn()->modPermission('can_content_edit_meta_tags') )
|
||||
{
|
||||
$formElements['record_meta_keywords'] = new TextArea( 'record_meta_keywords', $item ? $item->record_meta_keywords : '', FALSE );
|
||||
@@ -1011,15 +1000,6 @@ class Records extends Item implements
|
||||
{
|
||||
$this->record_pinned = 0;
|
||||
}
|
||||
|
||||
if ( in_array( 'feature', $values['create_record_state'] ) )
|
||||
{
|
||||
$this->record_featured = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->record_featured = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dates */
|
||||
|
||||
Reference in new issue
Block a user