| @@ 166-168 (lines=3) @@ | ||
| 163 | \OC::$server->getConfig()->setAppValue($info['id'], 'enabled', 'no'); |
|
| 164 | ||
| 165 | //set remote/public handlers |
|
| 166 | foreach ($info['remote'] as $name=>$path) { |
|
| 167 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 168 | } |
|
| 169 | foreach ($info['public'] as $name=>$path) { |
|
| 170 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 171 | } |
|
| @@ 169-171 (lines=3) @@ | ||
| 166 | foreach ($info['remote'] as $name=>$path) { |
|
| 167 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 168 | } |
|
| 169 | foreach ($info['public'] as $name=>$path) { |
|
| 170 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 171 | } |
|
| 172 | ||
| 173 | OC_App::setAppTypes($info['id']); |
|
| 174 | ||
| @@ 997-999 (lines=3) @@ | ||
| 994 | } elseif (\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 995 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 996 | } |
|
| 997 | foreach ($appData['remote'] as $name => $path) { |
|
| 998 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 999 | } |
|
| 1000 | foreach ($appData['public'] as $name => $path) { |
|
| 1001 | \OC::$server->getConfig()->setAppValue('core', 'public_' . $name, $appId . '/' . $path); |
|
| 1002 | } |
|