Code Duplication    Length = 3-3 lines in 2 locations

lib/base.php 1 location

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

lib/private/legacy/app.php 1 location

@@ 1139-1141 (lines=3) @@
1136
		//set remote/public handlers
1137
		if (array_key_exists('ocsid', $appData)) {
1138
			\OC::$server->getConfig()->setAppValue($appId, 'ocsid', $appData['ocsid']);
1139
		} elseif(\OC::$server->getConfig()->getAppValue($appId, 'ocsid', null) !== null) {
1140
			\OC::$server->getConfig()->deleteAppValue($appId, 'ocsid');
1141
		}
1142
		foreach ($appData['remote'] as $name => $path) {
1143
			\OC::$server->getConfig()->setAppValue('core', 'remote_' . $name, $appId . '/' . $path);
1144
		}