| @@ 157-159 (lines=3) @@ | ||
| 154 | \OC::$server->getConfig()->setAppValue($info['id'], 'enabled', 'no'); |
|
| 155 | ||
| 156 | //set remote/public handlers |
|
| 157 | foreach($info['remote'] as $name=>$path) { |
|
| 158 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 159 | } |
|
| 160 | foreach($info['public'] as $name=>$path) { |
|
| 161 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 162 | } |
|
| @@ 160-162 (lines=3) @@ | ||
| 157 | foreach($info['remote'] as $name=>$path) { |
|
| 158 | \OC::$server->getConfig()->setAppValue('core', 'remote_'.$name, $info['id'].'/'.$path); |
|
| 159 | } |
|
| 160 | foreach($info['public'] as $name=>$path) { |
|
| 161 | \OC::$server->getConfig()->setAppValue('core', 'public_'.$name, $info['id'].'/'.$path); |
|
| 162 | } |
|
| 163 | ||
| 164 | OC_App::setAppTypes($info['id']); |
|
| 165 | ||
| @@ 1096-1098 (lines=3) @@ | ||
| 1093 | } elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) { |
|
| 1094 | \OC::$server->getConfig()->deleteAppValue($appId, 'ocsid'); |
|
| 1095 | } |
|
| 1096 | foreach ($appData['remote'] as $name => $path) { |
|
| 1097 | \OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path); |
|
| 1098 | } |
|
| 1099 | foreach ($appData['public'] as $name => $path) { |
|
| 1100 | \OC::$server->getConfig()->setAppValue('core', 'public_' . $name, $appId . '/' . $path); |
|
| 1101 | } |
|