includes/plugins.php
changeset 953 323c4cd1aa37
parent 893 b24601274cd2
child 975 bff25c6113ae
equal deleted inserted replaced
952:d52dfa1f08da 953:323c4cd1aa37
    94     // check for out-of-date plugins
    94     // check for out-of-date plugins
    95     foreach ( $this->load_list as $i => $plugin )
    95     foreach ( $this->load_list as $i => $plugin )
    96     {
    96     {
    97       if ( in_array($plugin, $this->system_plugins) )
    97       if ( in_array($plugin, $this->system_plugins) )
    98         continue;
    98         continue;
       
    99       
    99       if ( $this->loaded_plugins[$plugin]['status'] & PLUGIN_OUTOFDATE )
   100       if ( $this->loaded_plugins[$plugin]['status'] & PLUGIN_OUTOFDATE )
   100       {
   101       {
   101         // it's out of date, don't load
   102         // it's out of date, don't load
   102         unset($this->load_list[$i]);
   103         unset($this->load_list[$i]);
   103         unset($this->loaded_plugins[$plugin]);
   104         unset($this->loaded_plugins[$plugin]);