Skip to content

Commit b19f580

Browse files
committed
Removed unnecessary declaration which was not required for Oracle to work (#701)
1 parent 1050df3 commit b19f580

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

classes/task/issue_certificates_task.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ public function execute() {
5656
if ($CFG->dbtype === 'oci') {
5757
// For Oracle, convert the CLOB to a VARCHAR2 (limiting to 4000 characters) since we are using DISTINCT.
5858
$emailothersselect = "DBMS_LOB.SUBSTR(c.emailothers, 4000, 1) AS emailothers";
59-
$emailotherslengthsql = "DBMS_LOB.GETLENGTH(c.emailothers)";
6059
} else {
6160
$emailothersselect = "c.emailothers";
62-
$emailotherslengthsql = $DB->sql_length('c.emailothers');
6361
}
6462

6563
$emailotherslengthsql = $DB->sql_length('c.emailothers');

0 commit comments

Comments
 (0)