Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
Disable not needed option (performance killer)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDeadJoe committed Sep 17, 2015
1 parent b421d17 commit 36ced8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/admin/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ function create_settings() {
'tab' => 'general',
);

$galleries = foogallery_get_all_galleries();
// $galleries = foogallery_get_all_galleries();
$gallery_choices = array();
foreach ( $galleries as $gallery ) {
$gallery_choices[ $gallery->ID ] = $gallery->name;
}
// foreach ( $galleries as $gallery ) {
// $gallery_choices[ $gallery->ID ] = $gallery->name;
// }

$settings[] = array(
'id' => 'default_gallery_settings',
Expand Down

0 comments on commit 36ced8c

Please sign in to comment.