@@ -103,6 +103,10 @@ discard block |
||
103 | 103 | $this->inMemoryPoolCache->getPoolCacheById( 'sql.store.redirect.infostore' )->delete( $hash ); |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param string $title |
|
108 | + * @param integer $namespace |
|
109 | + */ |
|
106 | 110 | private function select( $title, $namespace ) { |
107 | 111 | |
108 | 112 | $row = $this->connection->selectRow( |
@@ -118,6 +122,11 @@ discard block |
||
118 | 122 | return $row !== false && isset( $row->o_id ) ? (int)$row->o_id : 0; |
119 | 123 | } |
120 | 124 | |
125 | + /** |
|
126 | + * @param integer $id |
|
127 | + * @param string $title |
|
128 | + * @param integer $namespace |
|
129 | + */ |
|
121 | 130 | private function insert( $id, $title, $namespace ) { |
122 | 131 | |
123 | 132 | $this->connection->insert( |
@@ -130,6 +139,10 @@ discard block |
||
130 | 139 | ); |
131 | 140 | } |
132 | 141 | |
142 | + /** |
|
143 | + * @param string $title |
|
144 | + * @param integer $namespace |
|
145 | + */ |
|
133 | 146 | private function delete( $title, $namespace ) { |
134 | 147 | |
135 | 148 | $this->connection->delete( |