Menu

#705 Plugin AdminerVersionNoverify does not work

Git
closed-fixed
nobody
None
5
2019-11-11
2019-08-30
niol
No

I cannot make the plugin to work as expected, i.e. not make a request to adminer.org to check for a new version. The new js empty verifyVersion() declaration gets properly inserted in the html source, but the new version is still checked for.
I'm using 4.7.2.

Discussion

  • niol

    niol - 2019-09-06

    This simple change ensures the redeclared function runs and fixes the problem.

    --- a/plugins/version-noverify.php
    +++ b/plugins/version-noverify.php
    @@ -8,7 +8,7 @@
     */
     class AdminerVersionNoverify {
    
    -       function navigation($missing) {
    +       function head() {
                    echo script("verifyVersion = function () {};");
            }
    
     
    • Jakub Vrána

      Jakub Vrána - 2019-11-11

      Thanks, applied.

       
  • stan

    stan - 2019-10-28

    I confirm. Same with 4.6.2

     
  • Jakub Vrána

    Jakub Vrána - 2019-11-11
    • status: open --> closed-fixed
     

Log in to post a comment.