@@ -19,7 +19,6 @@ |
||
| 19 | 19 | require_once XOOPS_ROOT_PATH . '/class/uploader.php'; |
| 20 | 20 | |
| 21 | 21 | use XoopsModules\Extcal; |
| 22 | -use XoopsModules\Extcal\Common; |
|
| 23 | 22 | |
| 24 | 23 | /** |
| 25 | 24 | * Class Utility |
@@ -35,8 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | file_put_contents($folder . '/index.html', '<script>history.go(-1);</script>'); |
| 37 | 37 | } |
| 38 | - } |
|
| 39 | - catch (\Exception $e) { |
|
| 38 | + } catch (\Exception $e) { |
|
| 40 | 39 | echo 'Caught exception: ', $e->getMessage(), "\n", '<br>'; |
| 41 | 40 | } |
| 42 | 41 | } |