Add files via upload

This commit is contained in:
Fernando Méndez 2021-05-09 20:44:13 +02:00 committed by GitHub
parent d075d04a2a
commit b9a7f053dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 13 deletions

View File

@ -18,13 +18,6 @@
}
//Methods:
public static function getManager($id){
$bd = new Manager_DAO('complucine');
if($bd ) {
return $bd->GetManager($id);
}
return "";
}
//Getters && Setters:
public function setId($id){ $this->_id = $id; }

View File

@ -1,8 +1,6 @@
<?php
include_once('../dao.php');
include_once('manager.php');
$template = new Template();
$prefix = $template->get_prefix();
include_once($prefix.'assets/php/dao.php');
class Manager_DAO extends DAO {

View File

@ -11,9 +11,6 @@
if($_SESSION["login"] && $_SESSION["rol"] === "manager"){
if(!$_SESSION["cinema"])
$_SESSION["cinema"] = Manager::getManager(unserialize($_SESSION['user'])->getId())->getIdcinema();
switch($_GET["state"]){
case "view_ruser":
case "view_user":