Permalink
Browse files

MDL-31689 fix moodle_database:execute() description

Conflicts:

	lib/dml/moodle_database.php
  • Loading branch information...
1 parent 029923a commit 6b2de94af56b852f737bcb16626f1bb1af0efbcf @skodak skodak committed with stronk7 Feb 27, 2012
@@ -925,7 +925,7 @@ public function set_logging($state) {
/**
* Execute general sql query. Should be used only when no other method suitable.
- * Do NOT use this to make changes in db structure, use database_manager::execute_sql() instead!
+ * Do NOT use this to make changes in db structure, use database_manager methods instead!
* @param string $sql query
* @param array $params query parameters
* @return bool true
@@ -648,7 +648,7 @@ protected function emulate_bound_params($sql, array $params=null) {
/**
* Execute general sql query. Should be used only when no other method suitable.
- * Do NOT use this to make changes in db structure, use database_manager::execute_sql() instead!
+ * Do NOT use this to make changes in db structure, use database_manager methods instead!
* @param string $sql query
* @param array $params query parameters
* @return bool true
@@ -702,7 +702,7 @@ protected function emulate_bound_params($sql, array $params=null) {
/**
* Execute general sql query. Should be used only when no other method suitable.
- * Do NOT use this to make changes in db structure, use database_manager::execute_sql() instead!
+ * Do NOT use this to make changes in db structure, use database_manager methods instead!
* @param string $sql query
* @param array $params query parameters
* @return bool true
@@ -975,7 +975,7 @@ public static function onespace2empty(&$item, $key=null) {
/**
* Execute general sql query. Should be used only when no other method suitable.
- * Do NOT use this to make changes in db structure, use database_manager::execute_sql() instead!
+ * Do NOT use this to make changes in db structure, use database_manager methods instead!
* @param string $sql query
* @param array $params query parameters
* @return bool true
@@ -221,7 +221,7 @@ protected function create_recordset($sth) {
/**
* Execute general sql query. Should be used only when no other method suitable.
- * Do NOT use this to make changes in db structure, use database_manager::execute_sql() instead!
+ * Do NOT use this to make changes in db structure, use database_manager methods instead!
* @param string $sql query
* @param array $params query parameters
* @return bool success
@@ -578,7 +578,7 @@ public function change_database_structure($sql) {
/**
* Execute general sql query. Should be used only when no other method suitable.
- * Do NOT use this to make changes in db structure, use database_manager::execute_sql() instead!
+ * Do NOT use this to make changes in db structure, use database_manager methods instead!
* @param string $sql query
* @param array $params query parameters
* @return bool true
@@ -724,7 +724,7 @@ protected function emulate_bound_params($sql, array $params = null) {
/**
* Execute general sql query. Should be used only when no other method suitable.
- * Do NOT use this to make changes in db structure, use database_manager::execute_sql() instead!
+ * Do NOT use this to make changes in db structure, use database_manager methods instead!
* @param string $sql query
* @param array $params query parameters
* @return bool true

0 comments on commit 6b2de94

Please sign in to comment.