Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
marcus-lodspeakr
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uib-ub
Spesialsamlingene
marcus-lodspeakr
Commits
9e51c7fb
Commit
9e51c7fb
authored
3 years ago
by
Stein Magne Bjorklund
Browse files
Options
Downloads
Patches
Plain Diff
Make sure exporter do not inject warnings/notify messages into document
- Also remove extra include of settings. No longer needed.
parent
93e6f476
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
classes/Exporter.php
+1
-1
1 addition, 1 deletion
classes/Exporter.php
index.php
+0
-1
0 additions, 1 deletion
index.php
with
1 addition
and
2 deletions
classes/Exporter.php
+
1
−
1
View file @
9e51c7fb
...
@@ -39,7 +39,7 @@ class Exporter
...
@@ -39,7 +39,7 @@ class Exporter
array_push
(
$triples
,
$t
);
array_push
(
$triples
,
$t
);
$t
[
'o'
]
=
LS
.
'Application'
;
$t
[
'o'
]
=
LS
.
'Application'
;
array_push
(
$triples
,
$t
);
array_push
(
$triples
,
$t
);
if
(
$conf
[
'parentApp'
]
!=
null
)
{
if
(
isset
(
$conf
[
'parentApp'
])
&&
$conf
[
'parentApp'
]
!=
=
null
)
{
$t
[
'p'
]
=
OPMV
.
'wasDerivedFrom'
;
$t
[
'p'
]
=
OPMV
.
'wasDerivedFrom'
;
$t
[
'o'
]
=
$conf
[
'parentApp'
];
$t
[
'o'
]
=
$conf
[
'parentApp'
];
array_push
(
$triples
,
$t
);
array_push
(
$triples
,
$t
);
...
...
This diff is collapsed.
Click to expand it.
index.php
+
0
−
1
View file @
9e51c7fb
...
@@ -47,7 +47,6 @@ if ($acceptContentType === null) {
...
@@ -47,7 +47,6 @@ if ($acceptContentType === null) {
}
}
if
(
$conf
[
'export'
]
&&
$_GET
[
'q'
]
===
'export'
)
{
if
(
$conf
[
'export'
]
&&
$_GET
[
'q'
]
===
'export'
)
{
include_once
(
'settings.inc.php'
);
$exp
=
new
Exporter
();
$exp
=
new
Exporter
();
header
(
'Content-Type: text/plain'
);
header
(
'Content-Type: text/plain'
);
$exp
->
run
();
$exp
->
run
();
...
...
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