Ignore:
Timestamp:
2009년 01월 09일 21시 19분 18초 (3 years ago)
Author:
ditto
Message:

#186: installed_version 필드 추가 전에 플러그인 업데이트 실행하지 않도록 함

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/metabbs/core/plugin.php

    r1371 r1372  
    1414        if ($plugin->enabled) { 
    1515                $plugin->on_init(); 
    16                 if ($plugin->version > $plugin->installed_version) 
     16                if (isset($plugin->installed_version) && 
     17                                $plugin->version > $plugin->installed_version) 
    1718                        $plugin->on_update(); 
    1819        } 
Note: See TracChangeset for help on using the changeset viewer.