If the PECL library hasn't been installed yet, the following message is displayed when you try to install the module:

OAuth module requires the PECL OAuth library. (Currently using OAuth version OAuth PECL library not installed)

The second part shouldn't be output if the library doesn't exist, it makes no sense.

CommentFileSizeAuthor
#2 oauth-n2641370-2.patch1.16 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
1.16 KB

This changes the return from hook_requirements so that it only says "OAuth module requires the PECL OAuth library." during installation if the library doesn't exist.

juampynr’s picture

Status: Needs review » Fixed

Committed. Thanks!

  • juampynr committed 6e03b63 on 8.x-1.x
    Revert "Issue #2641370 by DamienMcKenna: Strange error message if PECL...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.