| @@ 1058-1060 (lines=3) @@ | ||
| 1055 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1056 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1057 | } |
|
| 1058 | foreach ($appData['remote'] as $name => $path) { |
|
| 1059 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1060 | } |
|
| 1061 | foreach ($appData['public'] as $name => $path) { |
|
| 1062 | \OC::$server->getConfig()->setAppValue('core', 'public_' . $name, $appId . '/' . $path); |
|
| 1063 | } |
|
| @@ 167-169 (lines=3) @@ | ||
| 164 | \OC::$server->getConfig()->setAppValue($info['id'], 'enabled', 'no'); |
|
| 165 | ||
| 166 | //set remote/public handlers |
|
| 167 | foreach($info['remote'] as $name=>$path) { |
|
| 168 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 169 | } |
|
| 170 | foreach($info['public'] as $name=>$path) { |
|
| 171 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 172 | } |
|
| @@ 170-172 (lines=3) @@ | ||
| 167 | foreach($info['remote'] as $name=>$path) { |
|
| 168 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 169 | } |
|
| 170 | foreach($info['public'] as $name=>$path) { |
|
| 171 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 172 | } |
|
| 173 | ||
| 174 | OC_App::setAppTypes($info['id']); |
|
| 175 | ||