View | Details | Raw Unified | Return to bug 231196
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	piwigo
4
PORTNAME=	piwigo
5
DISTVERSION=	2.9.4
5
DISTVERSION=	2.9.4
6
PORTREVISION=	1
6
CATEGORIES=	www
7
CATEGORIES=	www
7
MASTER_SITES=	http://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/
8
MASTER_SITES=	http://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/
8
9
(-)files/patch-plugins_AdminTools_include_MultiView.class.php (+20 lines)
Line 0 Link Here
1
--- plugins/AdminTools/include/MultiView.class.php.orig	2018-07-13 13:24:00 UTC
2
+++ plugins/AdminTools/include/MultiView.class.php
3
@@ -38,7 +38,7 @@ class MultiView
4
       );
5
 
6
     $this->data_url_params = array_keys($this->data);
7
-    $this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params);
8
+    $this->data_url_params = array_map(function($d) { return 'ato_'.$d; }, $this->data_url_params);
9
   }
10
 
11
   /**
12
@@ -226,7 +226,7 @@ class MultiView
13
       }
14
       if ($this->data['no_history'])
15
       {
16
-        $ret_false = create_function('', 'return false;');
17
+        $ret_false = function() {return false;};
18
         add_event_handler('pwg_log_allowed', $ret_false);
19
         add_event_handler('pwg_log_update_last_visit', $ret_false);
20
       }
(-)files/patch-plugins_AdminTools_main.inc.php (+11 lines)
Line 0 Link Here
1
--- plugins/AdminTools/main.inc.php.orig	2018-07-13 13:24:01 UTC
2
+++ plugins/AdminTools/main.inc.php
3
@@ -1,7 +1,7 @@
4
 <?php
5
 /*
6
 Plugin Name: Admin Tools
7
-Version: 2.9.4
8
+Version: 2.9.4.1
9
 Description: Do some admin task from the public pages
10
 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=720
11
 Author: Piwigo team
(-)files/patch-plugins_AdminTools_pem__metadata.txt (+11 lines)
Line 0 Link Here
1
--- plugins/AdminTools/pem_metadata.txt.orig	2018-07-13 13:24:01 UTC
2
+++ plugins/AdminTools/pem_metadata.txt
3
@@ -1,2 +1,4 @@
4
-https://github.com/Piwigo/AdminTools.git
5
-4161bc7f94819af01fea8631ad2b4258d00e5151 2017-12-11 18:11:36 +0100
6
\ No newline at end of file
7
+File automatically created from SVN or Git repository.
8
+
9
+URL: https://github.com/Piwigo/AdminTools 
10
+Revision: d99a1378f9e05b087c9d590665e52ad5ccf2a41b (Mon Jul 16 17:38:42 2018 +0200)
11
\ No newline at end of file

Return to bug 231196