Skip to content

Commit 05c06c0

Browse files
committed
Fix bug
1 parent 63461f5 commit 05c06c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+71
-231
lines changed

index.php

Lines changed: 0 additions & 5 deletions
This file was deleted.

model/blog/category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ModelBlogCategory extends Model {
3+
class VF_ModelBlogCategory extends VF_Model {
44

55
public function getCategory( $category_id ) {
66
global $wpdb;

model/blog/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ModelBlogPost extends Model
3+
class VF_ModelBlogPost extends VF_Model
44
{
55

66
public function getPost($post_id)

model/common/page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ModelCommonPage extends Model
3+
class VF_ModelCommonPage extends VF_Model
44
{
55
public function getPage($page_id)
66
{

model/common/token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use \Firebase\JWT\JWT;
44

5-
class ModelCommonToken extends Model {
5+
class VF_ModelCommonToken extends VF_Model {
66
public function getToken( $args ) {
77

88
$secret_key = 'bananas';

model/startup/startup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
class ModelStartupStartup extends Model
3+
class VF_ModelStartupStartup extends VF_Model
44
{
5-
public function getResolvers() {
5+
public function getVF_Resolvers() {
66
$rawMapping = file_get_contents(VF_DIR_PLUGIN.'mapping.json');
77
$mapping = json_decode( $rawMapping, true );
88
$result = array();

model/store/category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ModelStoreCategory extends Model {
3+
class VF_ModelStoreCategory extends VF_Model {
44

55
public function getCategory( $category_id ) {
66
global $wpdb;

model/store/compare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ModelStoreCompare extends Model {
3+
class VF_ModelStoreCompare extends VF_Model {
44
public function getCompare() {
55
$result = array();
66

model/store/option.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ModelStoreOption extends Model
3+
class VF_ModelStoreOption extends VF_Model
44
{
55
public function getOptionLabel($name) {
66
global $wpdb;

model/store/product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ModelStoreProduct extends Model
3+
class VF_ModelStoreProduct extends VF_Model
44
{
55
public function getProductRelated($product_id)
66
{

0 commit comments

Comments
 (0)