Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Correct service name
Browse files Browse the repository at this point in the history
  • Loading branch information
wanze committed Mar 7, 2016
1 parent 4f81a37 commit 505cd1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Client/class.ownclClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function setOwnCloudApp($owncl_app) {
*/
protected function getObjectSettings() {
$obj_id = ilObject2::_lookupObjectId((int)$_GET['ref_id']);
$obj = new ilOwnCloud('ownCloud', $obj_id);
$obj = new ilOwnCloud($obj_id);
$conf = new ownclConfig();
$settings = array(
'baseUri' => rtrim($conf->getBaseURL(), '/') . '/',
Expand Down
11 changes: 11 additions & 0 deletions classes/class.ilOwnCloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ class ilOwnCloud extends ilCloudPlugin {
protected $password;


/**
* @param $obj_id
* @param null $cloud_modul_object
*
* @throws ilCloudException
*/
public function __construct($obj_id, $cloud_modul_object = NULL) {
parent::__construct('OwnCloud', $obj_id, $cloud_modul_object);
}


/**
* @return bool
*/
Expand Down

0 comments on commit 505cd1b

Please sign in to comment.