Code Duplication    Length = 3-3 lines in 2 locations

lib/base.php 1 location

@@ 707-709 (lines=3) @@
704
					OC_Template::printGuestPage('', 'error', array('errors' => $errors));
705
					exit;
706
				}
707
			} elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) {
708
				\OC::$server->getConfig()->deleteAppValue('core', 'cronErrors');
709
			}
710
		}
711
		//try to set the session lifetime
712
		$sessionLifeTime = self::getSessionLifeTime();

lib/private/legacy/app.php 1 location

@@ 1242-1244 (lines=3) @@
1239
		//set remote/public handlers
1240
		if (array_key_exists('ocsid', $appData)) {
1241
			\OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']);
1242
		} elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) {
1243
			\OC::$server->getConfig()->deleteAppValue($appId, 'ocsid');
1244
		}
1245
		foreach ($appData['remote'] as $name => $path) {
1246
			\OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path);
1247
		}