Skip to content

Commit fd2551e

Browse files
committed
$rogAllowRemoteEdit should not be required on RDFImport, only edit via SPARQL
1 parent 1ad1849 commit fd2551e

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

classes/RDFIO_SpecialPage.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@ private function setHeadersForOutputType( $outputType ) {
6565
* @return bool
6666
*/
6767
protected function allowInsert( $user, $request ) {
68-
global $rogAllowRemoteEdit;
69-
70-
if ( !isset( $rogAllowRemoteEdit ) ) {
71-
return false;
72-
}
73-
74-
if ( !$rogAllowRemoteEdit ) {
75-
return false;
76-
}
77-
7868
if ( !$this->editTokenOk( $user, $request ) ) {
7969
return false;
8070
}

0 commit comments

Comments
 (0)