[apps/code] Allow any number of scripts

This commit is contained in:
Léa Saviot
2018-11-05 17:57:02 +01:00
committed by Émilie Feral
parent bdbae0777e
commit 58c022a9a9
2 changed files with 1 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ void ScriptStore::deleteAllScripts() {
}
bool ScriptStore::isFull() {
return (numberOfScripts() >= k_maxNumberOfScripts || Ion::Storage::sharedStorage()->availableSize() < k_fullFreeSpaceSizeLimit);
return Ion::Storage::sharedStorage()->availableSize() < k_fullFreeSpaceSizeLimit;
}
void ScriptStore::scanScriptsForFunctionsAndVariables(void * context, ScanCallback storeFunction, ScanCallback storeVariable) {