Skip to content

Commit

Permalink
Update the plugin for compatibility with Piwigo 2.1 - need GPC 2.0.5
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/extensions/AStat@5425 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
grum committed Mar 28, 2010
1 parent 1337686 commit 6166f09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions maintain.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
if(file_exists(PHPWG_PLUGINS_PATH.'grum_plugins_classes-2/common_plugin.class.inc.php'))
{
@include_once(PHPWG_PLUGINS_PATH.'grum_plugins_classes-2/main.inc.php');
// need GPC release greater or equal than 2.0.1
if(checkGPCRelease(2,0,1))
// need GPC release greater or equal than 2.0.5
if(checkGPCRelease(2,0,5))
{
@include_once("astat_aim.class.inc.php");
$gpc_installed=true;
Expand All @@ -38,7 +38,7 @@

function gpcMsgError(&$errors)
{
array_push($errors, sprintf(l10n('AStat_gpc2_not_installed'), "2.0.1"));
array_push($errors, sprintf(l10n('AStat_gpc2_not_installed'), "2.0.5"));
}
// -----------------------------------------------------------------------------

Expand Down

0 comments on commit 6166f09

Please sign in to comment.