[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; namespace phpbb\db\migration\data\v32x;
use Exception;
class merge_duplicate_bbcodes extends \phpbb\db\migration\container_aware_migration class merge_duplicate_bbcodes extends \phpbb\db\migration\container_aware_migration
{ {
public function update_data() 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 // Ignore the pair and move on. The BBCodes would have to be fixed manually
return; return;