summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-11-26 08:52:32 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-11-26 08:52:32 (GMT)
commitc95f7399d89b9d599adeb3a04d77da3bfc98eb02 (patch)
tree239a8e014d3bfccf673a23df5700d6b1041b64f6 /doc
parent52968d042a5ea629a37bfd31983bf2bdc0752b17 (diff)
downloadkolab-wap-c95f7399d89b9d599adeb3a04d77da3bfc98eb02.tar.gz
Make TRUNCATE queries compatible with Oracle (#3987)kolab-webadmin-3.2.5
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-insert-group_types.php2
-rw-r--r--doc/sample-insert-hosted-user_types.php2
-rw-r--r--doc/sample-insert-options.php2
-rw-r--r--doc/sample-insert-ou_types.php2
-rw-r--r--doc/sample-insert-resource_types.php2
-rw-r--r--doc/sample-insert-role_types.php2
-rw-r--r--doc/sample-insert-sharedfolder_types.php2
-rw-r--r--doc/sample-insert-user_types.php2
8 files changed, 8 insertions, 8 deletions
diff --git a/doc/sample-insert-group_types.php b/doc/sample-insert-group_types.php
index fc757c7..0d317d1 100644
--- a/doc/sample-insert-group_types.php
+++ b/doc/sample-insert-group_types.php
@@ -9,7 +9,7 @@
$db = SQL::get_instance();
- $result = $db->query("TRUNCATE `group_types`");
+ $result = $db->query("TRUNCATE TABLE `group_types`");
$attributes = Array(
"auto_form_fields" => Array(
diff --git a/doc/sample-insert-hosted-user_types.php b/doc/sample-insert-hosted-user_types.php
index 31350f2..3485865 100644
--- a/doc/sample-insert-hosted-user_types.php
+++ b/doc/sample-insert-hosted-user_types.php
@@ -9,7 +9,7 @@
$db = SQL::get_instance();
- $result = $db->query("TRUNCATE `user_types`");
+ $result = $db->query("TRUNCATE TABLE `user_types`");
$attributes = Array(
diff --git a/doc/sample-insert-options.php b/doc/sample-insert-options.php
index 3e87849..747a894 100644
--- a/doc/sample-insert-options.php
+++ b/doc/sample-insert-options.php
@@ -8,7 +8,7 @@
$db = SQL::get_instance();
- $db->query("TRUNCATE `options`");
+ $db->query("TRUNCATE TABLE `options`");
exec("locale -a | cut -d'.' -f 1 | cut -d'@' -f1 | grep -E \"^([a-zA-Z_]*)\$\" | sort -u", $output);
diff --git a/doc/sample-insert-ou_types.php b/doc/sample-insert-ou_types.php
index 9f61936..0dd7b29 100644
--- a/doc/sample-insert-ou_types.php
+++ b/doc/sample-insert-ou_types.php
@@ -9,7 +9,7 @@
$db = SQL::get_instance();
- $result = $db->query("TRUNCATE `ou_types`");
+ $result = $db->query("TRUNCATE TABLE `ou_types`");
$attributes = Array(
"auto_form_fields" => Array(
diff --git a/doc/sample-insert-resource_types.php b/doc/sample-insert-resource_types.php
index df0931e..0979b55 100644
--- a/doc/sample-insert-resource_types.php
+++ b/doc/sample-insert-resource_types.php
@@ -9,7 +9,7 @@
$db = SQL::get_instance();
- $result = $db->query("TRUNCATE `resource_types`");
+ $result = $db->query("TRUNCATE TABLE `resource_types`");
$attributes = Array(
"auto_form_fields" => Array(
diff --git a/doc/sample-insert-role_types.php b/doc/sample-insert-role_types.php
index 08f68a9..a04ef74 100644
--- a/doc/sample-insert-role_types.php
+++ b/doc/sample-insert-role_types.php
@@ -9,7 +9,7 @@
$db = SQL::get_instance();
- $result = $db->query("TRUNCATE `role_types`");
+ $result = $db->query("TRUNCATE TABLE `role_types`");
$attributes = Array(
"auto_form_fields" => Array(
diff --git a/doc/sample-insert-sharedfolder_types.php b/doc/sample-insert-sharedfolder_types.php
index 439a586..924aad5 100644
--- a/doc/sample-insert-sharedfolder_types.php
+++ b/doc/sample-insert-sharedfolder_types.php
@@ -9,7 +9,7 @@
$db = SQL::get_instance();
- $result = $db->query("TRUNCATE `sharedfolder_types`");
+ $result = $db->query("TRUNCATE TABLE `sharedfolder_types`");
$attributes = Array(
"auto_form_fields" => Array(
diff --git a/doc/sample-insert-user_types.php b/doc/sample-insert-user_types.php
index a9e173d..f6a9d02 100644
--- a/doc/sample-insert-user_types.php
+++ b/doc/sample-insert-user_types.php
@@ -9,7 +9,7 @@
$db = SQL::get_instance();
- $result = $db->query("TRUNCATE `user_types`");
+ $result = $db->query("TRUNCATE TABLE `user_types`");
$attributes = Array(
"auto_form_fields" => Array(