Commit 8f1044bf authored by Project Open's avatar Project Open

- Fixed issue if data-warehouse isn't installed

parent 62178457
......@@ -38,7 +38,10 @@ ad_proc -public im_reporting_dashboard_sweeper { } {
# Delete _values_.
# It's not necessary to delete the cube definitions
# (im_reporting_cubes). They also contain counters.
db_dml del_values "delete from im_reporting_cube_values"
set exists_p [im_table_exists "im_reporting_cube_values"]
if {$exists_p} {
db_dml del_values "delete from im_reporting_cube_values"
}
}
# ----------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment