Version 5.0.0 beta 6
This commit is contained in:
1 parent
57d9db6ce2
commit
fa2a720105
115 files changed
+1823
-1147
No files matched your search
@@ -389,10 +389,16 @@ class emoticons extends Controller
|
||||
{
|
||||
try
|
||||
{
|
||||
File::get( 'core_Emoticons', $emoticon['image'] )->delete();
|
||||
File::get( 'core_Emoticons', $emoticon['image_2x'] )->delete();
|
||||
if( $emoticon['image'] )
|
||||
{
|
||||
File::get( 'core_Emoticons', $emoticon['image'] )->delete();
|
||||
}
|
||||
if( $emoticon['image_2x'] )
|
||||
{
|
||||
File::get( 'core_Emoticons', $emoticon['image_2x'] )->delete();
|
||||
}
|
||||
}
|
||||
catch ( UnderflowException $e ) { }
|
||||
catch ( OutOfRangeException $e ) { }
|
||||
}
|
||||
|
||||
Db::i()->delete( 'core_emoticons', array( 'emo_set=?', $set ) );
|
||||
|
||||
Reference in new issue
Block a user