| @@ 156-158 (lines=3) @@ | ||
| 153 | \OC::$server->getConfig()->setAppValue($info['id'], 'enabled', 'no'); |
|
| 154 | ||
| 155 | //set remote/public handlers |
|
| 156 | foreach($info['remote'] as $name=>$path) { |
|
| 157 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 158 | } |
|
| 159 | foreach($info['public'] as $name=>$path) { |
|
| 160 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 161 | } |
|
| @@ 159-161 (lines=3) @@ | ||
| 156 | foreach($info['remote'] as $name=>$path) { |
|
| 157 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 158 | } |
|
| 159 | foreach($info['public'] as $name=>$path) { |
|
| 160 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 161 | } |
|
| 162 | ||
| 163 | OC_App::setAppTypes($info['id']); |
|
| 164 | ||
| @@ 1250-1252 (lines=3) @@ | ||
| 1247 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1248 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1249 | } |
|
| 1250 | foreach ($appData['remote'] as $name => $path) { |
|
| 1251 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1252 | } |
|
| 1253 | foreach ($appData['public'] as $name => $path) { |
|
| 1254 | \OC::$server->getConfig()->setAppValue('core', 'public_' . $name, $appId . '/' . $path); |
|
| 1255 | } |
|