aboutsummaryrefslogtreecommitdiff
path: root/srcs/wordpress/wp-includes/IXR/class-IXR-request.php
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-07-27 10:05:23 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-07-27 10:05:23 +0200
commit5bf66662a9bdd62c5bccab15e607cd95cfb8fcab (patch)
tree39a1a4629749056191c05dfd899f931701b7acf3 /srcs/wordpress/wp-includes/IXR/class-IXR-request.php
parent5afd237bbd22028b85532b8c0b3fcead49a00764 (diff)
downloadft_server-5bf66662a9bdd62c5bccab15e607cd95cfb8fcab.tar.gz
ft_server-5bf66662a9bdd62c5bccab15e607cd95cfb8fcab.tar.bz2
ft_server-5bf66662a9bdd62c5bccab15e607cd95cfb8fcab.zip
Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my famillyHEADmaster
Diffstat (limited to 'srcs/wordpress/wp-includes/IXR/class-IXR-request.php')
-rw-r--r--srcs/wordpress/wp-includes/IXR/class-IXR-request.php54
1 files changed, 0 insertions, 54 deletions
diff --git a/srcs/wordpress/wp-includes/IXR/class-IXR-request.php b/srcs/wordpress/wp-includes/IXR/class-IXR-request.php
deleted file mode 100644
index b00687b..0000000
--- a/srcs/wordpress/wp-includes/IXR/class-IXR-request.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-
-/**
- * IXR_Request
- *
- * @package IXR
- * @since 1.5.0
- */
-class IXR_Request
-{
- var $method;
- var $args;
- var $xml;
-
- /**
- * PHP5 constructor.
- */
- function __construct($method, $args)
- {
- $this->method = $method;
- $this->args = $args;
- $this->xml = <<<EOD
-<?xml version="1.0"?>
-<methodCall>
-<methodName>{$this->method}</methodName>
-<params>
-
-EOD;
- foreach ($this->args as $arg) {
- $this->xml .= '<param><value>';
- $v = new IXR_Value($arg);
- $this->xml .= $v->getXml();
- $this->xml .= "</value></param>\n";
- }
- $this->xml .= '</params></methodCall>';
- }
-
- /**
- * PHP4 constructor.
- */
- public function IXR_Request( $method, $args ) {
- self::__construct( $method, $args );
- }
-
- function getLength()
- {
- return strlen($this->xml);
- }
-
- function getXml()
- {
- return $this->xml;
- }
-}