Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
1ace11ea
Commit
1ace11ea
authored
13 years ago
by
Tim Roes
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://github.com/splitbrain/dokuwiki
parents
b2a3342a
ff711734
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inc/html.php
+1
-1
1 addition, 1 deletion
inc/html.php
lib/exe/indexer.php
+11
-2
11 additions, 2 deletions
lib/exe/indexer.php
with
12 additions
and
3 deletions
inc/html.php
+
1
−
1
View file @
1ace11ea
...
...
@@ -1436,7 +1436,7 @@ function html_edit_form($param) {
global
$TEXT
;
if
(
$param
[
'target'
]
!==
'section'
)
{
msg
(
'No editor for edit target '
.
$param
[
'target'
]
.
' found.'
,
-
1
);
msg
(
'No editor for edit target '
.
hsc
(
$param
[
'target'
]
)
.
' found.'
,
-
1
);
}
$attr
=
array
(
'tabindex'
=>
'1'
);
...
...
This diff is collapsed.
Click to expand it.
lib/exe/indexer.php
+
11
−
2
View file @
1ace11ea
...
...
@@ -55,6 +55,8 @@ exit;
function
runTrimRecentChanges
(
$media_changes
=
false
)
{
global
$conf
;
echo
"runTrimRecentChanges(
$media_changes
): started"
.
NL
;
$fn
=
(
$media_changes
?
$conf
[
'media_changelog'
]
:
$conf
[
'changelog'
]);
// Trim the Recent Changes
...
...
@@ -70,6 +72,7 @@ function runTrimRecentChanges($media_changes = false) {
if
(
count
(
$lines
)
<=
$conf
[
'recent'
])
{
// nothing to trim
io_unlock
(
$fn
);
echo
"runTrimRecentChanges(
$media_changes
): finished"
.
NL
;
return
false
;
}
...
...
@@ -91,6 +94,7 @@ function runTrimRecentChanges($media_changes = false) {
// nothing to trim
@
unlink
(
$fn
.
'_tmp'
);
io_unlock
(
$fn
);
echo
"runTrimRecentChanges(
$media_changes
): finished"
.
NL
;
return
false
;
}
...
...
@@ -114,10 +118,12 @@ function runTrimRecentChanges($media_changes = false) {
}
else
{
io_unlock
(
$fn
);
}
echo
"runTrimRecentChanges(
$media_changes
): finished"
.
NL
;
return
true
;
}
// nothing done
echo
"runTrimRecentChanges(
$media_changes
): finished"
.
NL
;
return
false
;
}
...
...
@@ -160,11 +166,12 @@ function runSitemapper(){
* @author Adrian Lang <lang@cosmocode.de>
*/
function
sendDigest
()
{
echo
'sendDigest(): start'
.
NL
;
echo
'sendDigest(): start
ed
'
.
NL
;
global
$ID
;
global
$conf
;
if
(
!
$conf
[
'subscribers'
])
{
return
;
echo
'sendDigest(): disabled'
.
NL
;
return
false
;
}
$subscriptions
=
subscription_find
(
$ID
,
array
(
'style'
=>
'(digest|list)'
,
'escaped'
=>
true
));
...
...
@@ -243,6 +250,8 @@ function sendDigest() {
// restore current user info
$USERINFO
=
$olduinfo
;
$_SERVER
[
'REMOTE_USER'
]
=
$olduser
;
echo
'sendDigest(): finished'
.
NL
;
return
true
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment