Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be helpful for a webmaster to see the version of the installed plupload library in the status report.
Comment | File | Size | Author |
---|---|---|---|
#4 | 1348892_show_library_version_4.patch | 4.06 KB | slashrsm |
#2 | 1348892_show_library_version_2.patch | 3.89 KB | slashrsm |
#1 | add_version_to_status_report-1348892-1.patch | 3.46 KB | Moloc |
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedHere is the patch, that displays the version information in the status report.
Comment #2
slashrsm CreditAttribution: slashrsm commentedI think this would be nice to have. Patch looks OK. I have made just few improvements:
- added some comments
- renamed plupload_library_path(); to _plupload_library_path(); as I see this as an internal function.
Comment #3
paranojik CreditAttribution: paranojik commentedI would add an additional check for the minimal required version and display the result appropriately.
Comment #4
slashrsm CreditAttribution: slashrsm commentedAdded this. I am using PHP's version_compare() function to check versions. See patch...
Comment #5
axe312 CreditAttribution: axe312 commentedPatch #4 is working correctly.
What about notifing the admin via drupal_set_message() that plupload has to be installed/updated after he installed the module?
Comment #6
slashrsm CreditAttribution: slashrsm commentedCommited to 7.x-1.x: http://drupalcode.org/project/plupload.git/commit/b64ea2d
Thanks!