diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /lib/classes/TwilloConnector.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/classes/TwilloConnector.php')
| -rw-r--r-- | lib/classes/TwilloConnector.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/classes/TwilloConnector.php b/lib/classes/TwilloConnector.php index 7a57583..40ceff8 100644 --- a/lib/classes/TwilloConnector.php +++ b/lib/classes/TwilloConnector.php @@ -50,14 +50,14 @@ class TwilloConnector public static function uploadMaterial(OERMaterial $material, $user_id = null) { $user_id || $user_id = User::findCurrent()->id; - $base = new EduSharingHelperBase( + $base = new \EduSharingApiClient\EduSharingHelperBase( self::$twillo_base_url, file_get_contents($GLOBALS['STUDIP_BASE_PATH']."/config/twillo-private.key"), Config::get()->OERCAMPUS_TWILLO_APPID, self::getHttpProxy() // 'data-quest-Test' ); - $authHelper = new EduSharingAuthHelper($base); + $authHelper = new \EduSharingApiClient\EduSharingAuthHelper($base); if (!static::$ticket) { static::$ticket = $authHelper->getTicketForUser(TwilloConnector::getTwilloUserID($user_id)); } @@ -261,13 +261,13 @@ class TwilloConnector { $user_id || $user_id = User::findCurrent()->id; - $base = new EduSharingHelperBase( + $base = new \EduSharingApiClient\EduSharingHelperBase( self::$twillo_base_url, file_get_contents($GLOBALS['STUDIP_BASE_PATH']."/config/twillo-private.key"), Config::get()->OERCAMPUS_TWILLO_APPID, self::getHttpProxy()// 'data-quest-Test' ); - $authHelper = new EduSharingAuthHelper($base); + $authHelper = new \EduSharingApiClient\EduSharingAuthHelper($base); if (!static::$ticket) { static::$ticket = $authHelper->getTicketForUser(TwilloConnector::getTwilloUserID($user_id)); } |
