static function run_installer() { global $wpdb; WP_Photo_Gallery_Installer::create_db_tables(); WP_Photo_Gallery_Installer::create_photo_gallery_pages(); WP_Photo_Gallery_Installer::create_upload_directory(); }