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
@@ -597,16 +597,6 @@ class Topic extends Item implements Embeddable,
|
||||
$current[] = 'hide';
|
||||
}
|
||||
}
|
||||
|
||||
if ( static::modPermission( 'feature', NULL, $container ) )
|
||||
{
|
||||
$options['feature'] = 'create_topic_featured';
|
||||
$toggles['feature'] = array( 'create_topic_featured' );
|
||||
if( $item and $item->mapped('featured') )
|
||||
{
|
||||
$current[] = 'feature';
|
||||
}
|
||||
}
|
||||
|
||||
if ( count( $options ) or count( $toggles ) )
|
||||
{
|
||||
@@ -666,11 +656,6 @@ class Topic extends Item implements Embeddable,
|
||||
{
|
||||
$this->pinned = ( in_array( 'pin', $values['topic_create_state'] ) ) ? 1 : 0;
|
||||
}
|
||||
|
||||
if ( static::modPermission( 'feature', NULL, $this->container() ) )
|
||||
{
|
||||
$this->featured = ( in_array( 'feature', $values['topic_create_state'] ) ) ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
||||
if ( static::modPermission( 'lock', NULL, $this->container() ) )
|
||||
|
||||
Reference in new issue
Block a user