Code Duplication    Length = 3-3 lines in 2 locations

lib/private/legacy/app.php 1 location

@@ 1201-1203 (lines=3) @@
1198
		//set remote/public handlers
1199
		if (array_key_exists('ocsid', $appData)) {
1200
			\OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']);
1201
		} elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) {
1202
			\OC::$server->getConfig()->deleteAppValue($appId, 'ocsid');
1203
		}
1204
		foreach ($appData['remote'] as $name => $path) {
1205
			\OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path);
1206
		}

lib/base.php 1 location

@@ 614-616 (lines=3) @@
611
					OC_Template::printGuestPage('', 'error', array('errors' => $errors));
612
					exit;
613
				}
614
			} elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) {
615
				\OC::$server->getConfig()->deleteAppValue('core', 'cronErrors');
616
			}
617
		}
618
		//try to set the session lifetime
619
		$sessionLifeTime = self::getSessionLifeTime();