Procházet zdrojové kódy

- converted to api.module conventions

Frederic G. Marand před 16 roky
rodič
revize
d4ee8cb8c4
1 změnil soubory, kde provedl 13 přidání a 14 odebrání
  1. 13 14
      qbf.install

+ 13 - 14
qbf.install

@@ -1,14 +1,16 @@
 <?php
 /**
+ * @file
  * QBF module - installer
  *
- * @copyright 2008 Ouest Systèmes Informatiques SARL
- * @author FG Marand
- * @license GPL2 or later
- * @package QBF
+ * Copyright 2008 Ouest Systèmes Informatiques SARL
+ *
+ * Author FG Marand
+ *
+ * License GPL2 or later
  */
 
-// $Id: qbf.install,v 1.1.2.1 2008-09-21 09:35:33 marand Exp $
+// $Id: qbf.install,v 1.1.2.2 2008-09-21 10:20:04 marand Exp $
 
 /**
  * Implement hook_install().
@@ -21,8 +23,7 @@
  * @todo support PGSQL
  * @return void
  */
-function qbf_install()
-  {
+function qbf_install() {
   switch ($GLOBALS['db_type'])
     {
     case 'mysql':
@@ -51,7 +52,7 @@ function qbf_install()
         array('@db' => $GLOBALS['db_type'])), 'error');
       break;
     }
-  }
+}
 
 /**
  * Implement hook_uninstall().
@@ -66,8 +67,7 @@ function qbf_install()
  *
  * @return void
  */
-function qbf_uninstall()
-  {
+function qbf_uninstall() {
   switch ($GLOBALS['db_type'])
     {
     case 'mysql':
@@ -81,7 +81,7 @@ function qbf_uninstall()
         array('@db' => $GLOBALS['db_type'])), 'error');
       break;
     }
-  }
+}
 
 /**
  * Implement hook_update_N().
@@ -90,7 +90,6 @@ function qbf_uninstall()
  *
  * @return array
  */
-function qbf_update_5000()
-  {
+function qbf_update_5000() {
   return array();
-  }
+}