diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-06-23 23:56:05 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-06-23 23:56:05 -0600 |
commit | c37fc39152ceeb5f4d51f9b297b313847bb445e5 (patch) | |
tree | b27850ad7eff09217f4a9a34379ff3780cd1a19e /modules/g2_import/controllers | |
parent | 200e17c884df8c2a265fab828be2ef869e580e35 (diff) | |
parent | f9dbd4eb2feede5381d481f473bf7f0a77b49e4a (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/g2_import/controllers')
-rw-r--r-- | modules/g2_import/controllers/admin_g2_import.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/g2_import/controllers/admin_g2_import.php b/modules/g2_import/controllers/admin_g2_import.php index f2969f49..18d09363 100644 --- a/modules/g2_import/controllers/admin_g2_import.php +++ b/modules/g2_import/controllers/admin_g2_import.php @@ -21,6 +21,9 @@ class Admin_g2_import_Controller extends Admin_Controller { public function index() { if (g2_import::is_configured()) { g2_import::init(); + } + + if (class_exists("GalleryCoreApi")) { $g2_stats = g2_import::stats(); $g2_sizes = g2_import::common_sizes(); } |