Code Duplication    Length = 3-3 lines in 2 locations

lib/base.php 1 location

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

lib/private/legacy/app.php 1 location

@@ 1092-1094 (lines=3) @@
1089
		//set remote/public handlers
1090
		if (array_key_exists('ocsid', $appData)) {
1091
			\OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']);
1092
		} elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) {
1093
			\OC::$server->getConfig()->deleteAppValue($appId, 'ocsid');
1094
		}
1095
		foreach ($appData['remote'] as $name => $path) {
1096
			\OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path);
1097
		}