Skip to content

Commit dd73e87

Browse files
authored
Merge pull request #105 from LarsGit223/master
Fixed deprecated constructor.
2 parents 5acbe87 + 951760a commit dd73e87

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

lang/pl/lang.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,3 @@
1616

1717
// Submit (Next to the tick-box to approve a page)
1818
$lang['apr_do_approve'] = 'Zatwierdź';
19-
20-
?>

lang/pl/settings.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22

33
$lang['apr_namespaces'] = 'Preztrzenie nazw (ang. namespaces), które wtyczka ma obejmować (puste pole oznacza całe wiki)';
44
$lang['apr_approved_text'] = 'Komentarz do operacji zatwierdzenia strony';
5-
6-
?>

syntax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class syntax_plugin_publish extends DokuWiki_Syntax_Plugin {
1919
*/
2020
private $hlp;
2121

22-
function syntax_plugin_publish(){
22+
function __construct(){
2323
$this->hlp = plugin_load('helper','publish');
2424
}
2525

0 commit comments

Comments
 (0)