Code Duplication    Length = 3-3 lines in 2 locations

lib/base.php 1 location

@@ 699-701 (lines=3) @@
696
					OC_Template::printGuestPage('', 'error', array('errors' => $errors));
697
					exit;
698
				}
699
			} elseif (self::$CLI && \OC::$server->getConfig()->getSystemValue('installed', false)) {
700
				\OC::$server->getConfig()->deleteAppValue('core', 'cronErrors');
701
			}
702
		}
703
		//try to set the session lifetime
704
		$sessionLifeTime = self::getSessionLifeTime();

lib/private/legacy/app.php 1 location

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