1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-19 23:20:22 +01:00

[ticket/15527] Remove "use" and specify full class name for exception

PHPBB3-15527
This commit is contained in:
Marc Alexander 2018-01-24 18:47:40 +01:00
parent 5c8a667db2
commit 532afbf83a
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -13,8 +13,6 @@
namespace phpbb\db\migration\data\v32x;
use Exception;
class merge_duplicate_bbcodes extends \phpbb\db\migration\container_aware_migration
{
public function update_data()
@ -61,7 +59,7 @@ class merge_duplicate_bbcodes extends \phpbb\db\migration\container_aware_migrat
]
);
}
catch (Exception $e)
catch (\Exception $e)
{
// Ignore the pair and move on. The BBCodes would have to be fixed manually
return;