Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/01/2008 03:47:56 AM (18 years ago)
Author:
sambauers
Message:

No need to test for glob anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-admin/plugins.php

    r1012 r1088  
    44$plugins = bb_get_plugins();
    55$_plugins = array();
    6 if ( function_exists( 'glob' ) && is_callable( 'glob' ) ) {
    7     foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin ) {
    8         $_data = bb_get_plugin_data( $_plugin );
    9         $_plugins[$_plugin] = $_data ? $_data : true;
    10     }
     6foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin ) {
     7    $_data = bb_get_plugin_data( $_plugin );
     8    $_plugins[$_plugin] = $_data ? $_data : true;
    119}
    1210
Note: See TracChangeset for help on using the changeset viewer.