Added fix for blank return, Added sql conversions to removal list, Fixed missing username in update process

This commit is contained in:
xevidos 2020-02-24 22:59:26 -05:00
parent b42cf37eca
commit 567ec1efd0
4 changed files with 6 additions and 3 deletions

View File

@ -60,6 +60,7 @@ Task List:
* Create standards for php ( For example a lot of projects are using API like standards for their backends maybe create something like those? )
* Fix broken themes
* Re Add the custom language recognition system after recode
* Reformat install processes
* Remove all old and unneeded dependencies
* Seperate Upload filemanager instance from main filemanager instance
* Update all current components to use more current standards

View File

@ -444,7 +444,7 @@ $.post('components/install/install.php',$('#install').serialize(),function( data
console.log( data );
if( data === "success" ){
if( data === "success" || data == "" ){
window.location.reload();
} else {
alert( "An Error Occurred. Please check the console for more information.\n" );

View File

@ -156,7 +156,7 @@ class sql {
$update_query = "";
$projects = $this->query( "SELECT id, path FROM projects", array(), array(), "fetchAll", "exception" );
$result = $this->query( "SELECT project FROM users", array(), array(), "fetchAll", "exception" );
$result = $this->query( "SELECT username,project FROM users", array(), array(), "fetchAll", "exception" );
$convert = false;
$delete = Permissions::LEVELS["delete"];

View File

@ -533,7 +533,9 @@ class updater {
$this->path . "/{$update_folder}/.gitignore",
$this->path . "/.gitlab-ci.yml",
$this->path . "/{$update_folder}/.gitlab-ci.yml"
$this->path . "/{$update_folder}/.gitlab-ci.yml",
$this->path . "/components/sql/class.sql.conversions.php",
);
foreach( $file_conflictions as $file ) {