Commit 1dc44ff8 authored by tstoeckler's avatar tstoeckler

Issue #1125904 by tstoeckler, boombatower: Fix drush libraries-list.

parent f08245e1
Libraries 7.x-2.x, xxxx-xx-xx
-----------------------------
#1125904 by tstoeckler, boombatower: Fix drush libraries-list.
#1050076 by tstoeckler: Re-utilize libraries_detect() and remove libraries_detect_library().
#466090 by tstoeckler: Add update function.
#466090 by tstoeckler: Allow cache to be flushed.
......
......@@ -43,7 +43,10 @@ See libraries-list for a list of registered libraries.');
* Lists registered library information.
*/
function libraries_drush_list() {
$libraries = libraries_detect(libraries_info());
$libraries = array();
foreach (libraries_info() as $name => $info) {
$libraries[$name] = libraries_detect($name);
}
ksort($libraries);
if (empty($libraries)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment