Delete an uploaded file.

@param string $Name The name of the upload as saved in the database.
349893
public function Delete($Name) {
      $Parsed = $this->Parse($Name);

      // Throw an event so that plugins that have stored the file somewhere else can delete it.
      $this->EventArguments['Parsed'] =& $Parsed;
      $Handled = FALSE;
      $this->EventArguments['Handled'] =& $Handled;
      $this->FireAs('Gdn_Upload')->FireEvent('Delete');

      if (!$Handled) {
         $Path = PATH_UPLOADS.'/'.ltrim($Name, '/');
         @unlink($Path);
      }
   }
1199891
public function delete($name){

		try{

			$name = $this->_cleanName($name);
		}
		catch(CacheException $e){

			return false;
		}

		return $this->_Cache->delete("{$this->_store}:$name");
	}
820292
public function remove($name)
    {
        if(array_key_exists($name, $this->data))
        {
            unset($this->data[$name]);
            return true;
        }
        else
        {
            return false;
        }
    }
810453
public function delete($name)
    {
        $name = $this->parseName($name);
        ObjectArrayHelper::remove($this->data, $name);
        $this->isChanged = true;
    }
636126
public static function destroy($name)
    {
        if (is_array($name)) {
            foreach ($name as $v) {
                self::destroy($v);
            }
        } elseif (is_string($name) && self::hasTask($name)) {
            unset(self::$tasks[$name]);
        }
    }
412396
public function removeHeader($name) {
        if (true === array_key_exists($name, $this->headers)) {
            unset($this->headers[$name]);
        }
    }
1257706
public function remove($name)
    {
        $context = $this->_context;

        if (!$context->started) {
            $this->_start();
        }

        $context->is_dirty = true;
        unset($context->_SESSION[$name]);
    }
1234606
public function delete(string $name): void
    {
        !$this->all && $this->inputs();

        Arrays::delete($this->input, $name);
        $this->cache = [];
    }
1192654
public function delete($name) {

        if ( array_key_exists($name, $this->data) ) {
            unset($this->data[$name]);
            return true;
        }

        return false;

    }
211062
public static function RemovePost ($name) {
		if (static::HasClassVar('_post', $name)) {
			static::RemoveClassVar('_post', $name);
		}
		if (Arrays::ExistsLowest($_POST, $name)) {
			Arrays::RemoveLowest($_POST, $name);
		}
	}
1096019
public static function pageDelete(string $name, ?string $page = null): void
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        self::delete($name, $page);
    }
636045
public function remove($name)
    {
        if (isset($this->items[$name])) {
            $this->count--;
        }

        unset($this->items[$name]);
    }
591752
public function uninstall($name)
    {
        $this->unseed($name);
        $paths = $this->uninstallPathes($name);
        foreach ($paths as $path) {
            if (!$this->app->make('files')->isDirectory($path)) {
                continue;
            }
            $files = $this->migrator->getMigrationFiles($path);
            foreach ($files as $file) {
                $migration           = $this->resolveClassname(str_replace('.php', '', $file));
                $migrator            = new stdClass();
                $migrator->migration = $file;
                $this->migrator->getRepository()->delete($migrator);
                if (method_exists($migration, 'down')) {
                    $migration->down();
                }
            }
        }
    }
584723
public function remove(string $name): void
    {
        if ($this->has($name)) {
            unset($this->factories[$name]);
        }
    }
1216549
public function destroy($name) {
        if (isset($this->_events[$name])) {
            unset($this->_events[$name]);
            $this->_events = array_values($this->_events);
        }
    }
28008
protected function removeHeader(string $name)
    {
        $normalized = strtolower($name);

        if (isset($this->headerNameMap[$normalized])) {
            $name = $this->headerNameMap[$normalized];
            unset($this->headers[$name], $this->headerNameMap[$normalized]);
        }
    }
883904
public function remove($name)
    {
        if (array_key_exists($name, $this->data)) {
            unset($this->data[$name]);
            $this->removeData[] = $name;
            return true;
        }

        return null;
    }