summaryrefslogtreecommitdiff
path: root/textbook_companion_fixer.module
diff options
context:
space:
mode:
Diffstat (limited to 'textbook_companion_fixer.module')
-rwxr-xr-xtextbook_companion_fixer.module25
1 files changed, 1 insertions, 24 deletions
diff --git a/textbook_companion_fixer.module b/textbook_companion_fixer.module
index e26f2ee..bc8484c 100755
--- a/textbook_companion_fixer.module
+++ b/textbook_companion_fixer.module
@@ -1,5 +1,6 @@
<?php
require_once('textbook_companion_fixer_email.inc');
+include('textbook_companion_fixer_edit_book_category.inc');
function textbook_companion_fixer_menu()
{
$items = array();
@@ -754,30 +755,6 @@ function scilab_fixer_code_form($form, &$form_state)
);
return $form;
}
-function _tbc_fixer_list_of_category($category_id = NULL)
-{
- $category[0] = "Please select";
- if ($category_id == NULL)
- {
- $query = db_select('list_of_category');
- $query->fields('list_of_category');
- $query->orderBy('id', 'ASC');
- $category_list = $query->execute();
- } //$category_id == NULL
- else
- {
- $query = db_select('list_of_category');
- $query->fields('list_of_category');
- $query->condition('category_id', $category_id);
- $query->orderBy('id', 'ASC');
- $category_list = $query->execute();
- }
- while ($category_list_data = $category_list->fetchObject())
- {
- $category[$category_list_data->category_id] = $category_list_data->category_name;
- } //$category_list_data = $category_list->fetchObject()
- return $category;
-}
function scilab_fixer_code_all()
{
$page_content = "";