Plugin Directory

Changeset 3372908


Ignore:
Timestamp:
10/04/2025 04:19:01 PM (6 months ago)
Author:
plainware
Message:

minor code style fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plain-event-calendar/trunk/plain-event-calendar.php

    r3372822 r3372908  
    4545        if (preg_match('/plugin name:[\s\t]+?(.+)/i', $fileContents, $v)) {
    4646            $defaultLabel = $v[1];
    47         }
    48         else {
     47        } else {
    4948            $defaultLabel = basename(__FILE__);
    5049        }
     
    8584        foreach ($fs as $f) {
    8685            $f = __DIR__ . '/' . $f;
    87             if(file_exists($f)) {
     86            if (file_exists($f)) {
    8887                $modules = array_merge(require($f), $modules);
    8988            }
     
    107106        global $wpdb;
    108107        if (is_multisite()) {
    109             // $shareDatabase = get_site_option( 'locatoraid_share_database', 0 );
     108            // $shareDatabase = get_site_option( 'plaineventcalendar_share_database', 0 );
    110109            $shareDatabase = false;
    111110            $wpdbPrefix = $shareDatabase ? $wpdb->base_prefix : $wpdb->prefix;
Note: See TracChangeset for help on using the changeset viewer.