How do you control sidebars when there’s no get_sidebar in templates?

In the ThemeHall Omega theme, the call to get_sidebar is wrapped in a function called omega_primary_sidebar. This can be found in hooks.php lines 180 to 185. This function then gets hooked to the omega_after_main action hook on line 35 and 36 in the same file

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)