1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

www/piwigo: update AdminTools plugin to 2.9.4.1

PR:		231196
Submitted by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
This commit is contained in:
Steve Wills 2018-09-06 15:44:12 +00:00
parent 93a9398a2a
commit ecb70b414a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479104
4 changed files with 43 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= piwigo
DISTVERSION= 2.9.4
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/

View File

@ -0,0 +1,20 @@
--- plugins/AdminTools/include/MultiView.class.php.orig 2018-07-13 13:24:00 UTC
+++ plugins/AdminTools/include/MultiView.class.php
@@ -38,7 +38,7 @@ class MultiView
);
$this->data_url_params = array_keys($this->data);
- $this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params);
+ $this->data_url_params = array_map(function($d) { return 'ato_'.$d; }, $this->data_url_params);
}
/**
@@ -226,7 +226,7 @@ class MultiView
}
if ($this->data['no_history'])
{
- $ret_false = create_function('', 'return false;');
+ $ret_false = function() {return false;};
add_event_handler('pwg_log_allowed', $ret_false);
add_event_handler('pwg_log_update_last_visit', $ret_false);
}

View File

@ -0,0 +1,11 @@
--- plugins/AdminTools/main.inc.php.orig 2018-07-13 13:24:01 UTC
+++ plugins/AdminTools/main.inc.php
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: Admin Tools
-Version: 2.9.4
+Version: 2.9.4.1
Description: Do some admin task from the public pages
Plugin URI: http://piwigo.org/ext/extension_view.php?eid=720
Author: Piwigo team

View File

@ -0,0 +1,11 @@
--- plugins/AdminTools/pem_metadata.txt.orig 2018-07-13 13:24:01 UTC
+++ plugins/AdminTools/pem_metadata.txt
@@ -1,2 +1,4 @@
-https://github.com/Piwigo/AdminTools.git
-4161bc7f94819af01fea8631ad2b4258d00e5151 2017-12-11 18:11:36 +0100
\ No newline at end of file
+File automatically created from SVN or Git repository.
+
+URL: https://github.com/Piwigo/AdminTools
+Revision: d99a1378f9e05b087c9d590665e52ad5ccf2a41b (Mon Jul 16 17:38:42 2018 +0200)
\ No newline at end of file