Browse Source

urgent fixes

master
o.moresis 2 years ago
parent
commit
8fff22193d
  1. 3
      src/Data/actions/clear_requests.php
  2. 4
      src/Data/actions/search_request_data.php

3
src/Data/actions/clear_requests.php

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
<?php
require_once(__DIR__ . '/../data_request.php');
use MSFD\Services\DataRequest;
use MSFD\Data\DataRequest;
$user_id = $_SESSION['user_id'];
$request = new DataRequest($_GET, $user_id);

4
src/Data/actions/search_request_data.php

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
<?php
require_once(__DIR__ . '/../DataRequest.php');
// use MSFD\Data\DataRequest;
use MSFD\Data\DataRequest;
// Process all of the get values
// TODO: Clean below variables
@ -16,4 +15,3 @@ $files_list = array(); @@ -16,4 +15,3 @@ $files_list = array();
$downloadable = array();
$request = new DataRequest($_GET, $user_id);
echo $request->insert_to_db();

Loading…
Cancel
Save