Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips-library/xnpbulletin/install_funcs.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by yamaji, Wed Apr 12 04:46:14 2006 UTC revision 1.4 by yamaji, Wed Apr 12 08:34:57 2006 UTC
# Line 152  function xoops_module_update_xnpbulletin Line 152  function xoops_module_update_xnpbulletin
152    
153          global $xoopsDB;          global $xoopsDB;
154          switch ($oldversion) { //remember that version is multiplied with 100 to get an integer          switch ($oldversion) { //remember that version is multiplied with 100 to get an integer
155            case 200:
156            $table = $xoopsDB->prefix("xnpbulletin_item_detail_child_author");
157                    $sql = "ALTER TABLE $table ADD author_affiliation_translation varchar(255) NOT NULL";
158                    $result = $xoopsDB->query($sql);
159                    if( !$result ){
160                            echo "ERROR: " . $xoopsDB->error();
161                            return false;
162                    }
163    
164          default:          default:
165                  return true;                  return true;
166          }          }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26