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

Commit

Permalink
Revert changing constructor...
Browse files Browse the repository at this point in the history
  • Loading branch information
wanze committed Mar 7, 2016
1 parent 505cd1b commit 15a8c19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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($obj_id);
$obj = new ilOwnCloud('OwnCloud', $obj_id);
$conf = new ownclConfig();
$settings = array(
'baseUri' => rtrim($conf->getBaseURL(), '/') . '/',
Expand Down
3 changes: 2 additions & 1 deletion classes/class.ilOwnCloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ class ilOwnCloud extends ilCloudPlugin {


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

Expand Down

0 comments on commit 15a8c19

Please sign in to comment.