Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency & array update in install checks #1947

Closed
wants to merge 1 commit into from
Closed

Dependency & array update in install checks #1947

wants to merge 1 commit into from

Conversation

DominiqueFuchs
Copy link

Duplicate of my original pull request #1943 after I had to do a rebase on a different branch:

mysqli_fetch_all still does not seem to be used anywhere throughout teampass. So, pull request #1406 is imho right about removing this dependency (just like the Official Requirements Page did, it isn't even listed there.

Unfortunately by only removing the specific LOC of the dependency check for this function the check-layout in the routine get's broken because the array is misordered in terms of layout-referencing. This means after removal (like in pull request #1406, which seems to be abandoned and isn't based on actual code in master) the results after the checkpoints partially belong to other lines (example: check for writable /install shows missing extension).

I removed the dependency check for mysqli_fetch_all and reorganized the install.js check-array to reflect the actual order in install.php. Should also be easier to edit or expand in the future this way.

Tested with systematic dependency breaking and checking the results on install routine.

Removed mysqli_fetch_all dependency checks (obsolete and probably falsely showstopping), fixing layout breaks due to misordered array in respect to check order
@nilsteampassnet
Copy link
Owner

Thank you

nilsteampassnet added a commit that referenced this pull request Oct 2, 2017
Merged PR #1947
@DominiqueFuchs DominiqueFuchs deleted the install-routine branch October 2, 2017 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants