Skip to content

Commit e2ea6b2

Browse files
committed
MDL-75959 customfield: Correct inappropriate class import
I suspect this was an incorrect tab completion import by an IDE which was missed.
1 parent 3af0824 commit e2ea6b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

customfield/classes/privacy/provider.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
use core_privacy\local\request\contextlist;
3434
use core_privacy\local\request\writer;
3535
use core_privacy\manager;
36-
use Horde\Socket\Client\Exception;
3736

3837
/**
3938
* Class provider
@@ -196,7 +195,7 @@ public static function export_customfields_data(approved_contextlist $contextlis
196195
$field = array_key_exists($record->fieldid, $fields) ? $fields[$record->fieldid] : null;
197196
$data = data_controller::create(0, $record, $field);
198197
self::export_customfield_data($data, array_merge($subcontext, [$record->id]));
199-
} catch (Exception $e) {
198+
} catch (\Exception $e) {
200199
// We store some data that we can not initialise controller for. We still need to export it.
201200
self::export_customfield_data_unknown($record, $field, array_merge($subcontext, [$record->id]));
202201
}

0 commit comments

Comments
 (0)