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