Skip to content

Commit

Permalink
This will add information on SQL Patches to the admin activity log
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcwilson committed Jun 24, 2020
1 parent 9d7cad9 commit 882a88a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/sqlpatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ function executeSql($lines, $database, $table_prefix = '') {
} //endif $complete_line
} //endif ! # or -
} // end foreach $lines
$_POST['query_string'] = $lines;
zen_record_admin_activity('Admin SQL Patch tool executed a query.', 'notice');
return array('queries' => $results, 'string' => $string, 'output' => $return_output, 'ignored' => ($ignored_count), 'errors' => $errors);
}
Expand Down

0 comments on commit 882a88a

Please sign in to comment.