diff --git a/lib/dml/moodle_database.php b/lib/dml/moodle_database.php index ca000f3b165..2baf138f37d 100644 --- a/lib/dml/moodle_database.php +++ b/lib/dml/moodle_database.php @@ -956,7 +956,7 @@ abstract class moodle_database { /** * Executes a 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 diff --git a/lib/dml/mssql_native_moodle_database.php b/lib/dml/mssql_native_moodle_database.php index 59e69184f32..d5998a7187a 100644 --- a/lib/dml/mssql_native_moodle_database.php +++ b/lib/dml/mssql_native_moodle_database.php @@ -655,7 +655,7 @@ class mssql_native_moodle_database extends moodle_database { /** * 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 diff --git a/lib/dml/mysqli_native_moodle_database.php b/lib/dml/mysqli_native_moodle_database.php index ad2128656d2..f56c89c2ef0 100644 --- a/lib/dml/mysqli_native_moodle_database.php +++ b/lib/dml/mysqli_native_moodle_database.php @@ -708,7 +708,7 @@ class mysqli_native_moodle_database extends moodle_database { /** * 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 diff --git a/lib/dml/oci_native_moodle_database.php b/lib/dml/oci_native_moodle_database.php index f34e8355d7e..3983dd10b41 100644 --- a/lib/dml/oci_native_moodle_database.php +++ b/lib/dml/oci_native_moodle_database.php @@ -990,7 +990,7 @@ class oci_native_moodle_database extends moodle_database { /** * 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 diff --git a/lib/dml/pdo_moodle_database.php b/lib/dml/pdo_moodle_database.php index 5f54613ce83..eced736fcd3 100644 --- a/lib/dml/pdo_moodle_database.php +++ b/lib/dml/pdo_moodle_database.php @@ -226,7 +226,7 @@ abstract class pdo_moodle_database extends moodle_database { /** * 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 diff --git a/lib/dml/pgsql_native_moodle_database.php b/lib/dml/pgsql_native_moodle_database.php index cdd1c5ecd4c..d49803b0e8f 100644 --- a/lib/dml/pgsql_native_moodle_database.php +++ b/lib/dml/pgsql_native_moodle_database.php @@ -585,7 +585,7 @@ class pgsql_native_moodle_database extends moodle_database { /** * 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 diff --git a/lib/dml/sqlsrv_native_moodle_database.php b/lib/dml/sqlsrv_native_moodle_database.php index a9386799030..f8c799f4985 100644 --- a/lib/dml/sqlsrv_native_moodle_database.php +++ b/lib/dml/sqlsrv_native_moodle_database.php @@ -731,7 +731,7 @@ class sqlsrv_native_moodle_database extends moodle_database { /** * 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