Changeset 3206


Ignore:
Timestamp:
Mar 16, 2009, 6:22:46 PM (15 years ago)
Author:
patdenice
Message:

merge r3205 from trunk to branch 2.0.
Update version in plugins table during plugin activation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/include/plugins.class.php

    r3144 r3206  
    110110        {
    111111          $query = '
    112 UPDATE ' . PLUGINS_TABLE . ' SET state="active" WHERE id="' . $plugin_id . '"';
     112UPDATE ' . PLUGINS_TABLE . '
     113SET state="active", version="'.$this->fs_plugins[$plugin_id]['version'].'"
     114WHERE id="' . $plugin_id . '"';
    113115          pwg_query($query);
    114116        }
Note: See TracChangeset for help on using the changeset viewer.