Skip to content

Commit

Permalink
Merge pull request #1430 from sjinks/translate
Browse files Browse the repository at this point in the history
Phalcon\Translate is empty and not used anywhere
  • Loading branch information
Phalcon committed Oct 25, 2013
2 parents 46f6182 + 16b54dd commit cf60f43
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 79 deletions.
1 change: 0 additions & 1 deletion ext/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ di/exception.c \
di/injectionawareinterface.c \
di/service.c \
security.c \
translate.c \
annotations/reflection.c \
annotations/annotation.c \
annotations/readerinterface.c \
Expand Down
2 changes: 1 addition & 1 deletion ext/config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (PHP_PHALCON != "no") {
ADD_SOURCES("ext/phalcon/mvc/model/query", "scanner.c parser.c builder.c lang.c statusinterface.c status.c builderinterface.c", "phalcon")
ADD_SOURCES("ext/phalcon/mvc/view/engine/volt", "scanner.c parser.c compiler.c", "phalcon")
ADD_SOURCES("ext/phalcon/annotations", "scanner.c parser.c reflection.c annotation.c readerinterface.c exception.c collection.c adapterinterface.c adapter.c reader.c", "phalcon")
ADD_SOURCES("ext/phalcon/.", "interned-strings.c logger.c flash.c dispatcherinterface.c di.c cryptinterface.c db.c text.c debug.c tag.c filterinterface.c acl.c loader.c exception.c crypt.c filter.c dispatcher.c diinterface.c escaper.c config.c escaperinterface.c validation.c version.c flashinterface.c kernel.c security.c translate.c session.c", "phalcon")
ADD_SOURCES("ext/phalcon/.", "interned-strings.c logger.c flash.c dispatcherinterface.c di.c cryptinterface.c db.c text.c debug.c tag.c filterinterface.c acl.c loader.c exception.c crypt.c filter.c dispatcher.c diinterface.c escaper.c config.c escaperinterface.c validation.c version.c flashinterface.c kernel.c security.c session.c", "phalcon")
ADD_SOURCES("ext/phalcon/cli/dispatcher", "exception.c", "phalcon")
ADD_SOURCES("ext/phalcon/cli", "console.c router.c task.c dispatcher.c", "phalcon")
ADD_SOURCES("ext/phalcon/cli/router", "exception.c", "phalcon")
Expand Down
2 changes: 0 additions & 2 deletions ext/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ zend_class_entry *phalcon_forms_elementinterface_ce;
zend_class_entry *phalcon_forms_element_numeric_ce;
zend_class_entry *phalcon_forms_element_password_ce;
zend_class_entry *phalcon_crypt_ce;
zend_class_entry *phalcon_translate_ce;
zend_class_entry *phalcon_translate_exception_ce;
zend_class_entry *phalcon_translate_adapter_ce;
zend_class_entry *phalcon_translate_adapterinterface_ce;
Expand Down Expand Up @@ -601,7 +600,6 @@ static PHP_MINIT_FUNCTION(phalcon){
PHALCON_INIT(Phalcon_Forms_Element_Password);
PHALCON_INIT(Phalcon_Forms_Element_TextArea);
PHALCON_INIT(Phalcon_Crypt);
PHALCON_INIT(Phalcon_Translate);
PHALCON_INIT(Phalcon_Translate_Exception);
PHALCON_INIT(Phalcon_Translate_Adapter_NativeArray);
PHALCON_INIT(Phalcon_Crypt_Exception);
Expand Down
1 change: 0 additions & 1 deletion ext/phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@
#include "forms/element/password.h"
#include "forms/element/textarea.h"
#include "crypt.h"
#include "translate.h"
#include "translate/exception.h"
#include "translate/adapter/nativearray.h"
#include "crypt/exception.h"
Expand Down
52 changes: 0 additions & 52 deletions ext/translate.c

This file was deleted.

22 changes: 0 additions & 22 deletions ext/translate.h

This file was deleted.

0 comments on commit cf60f43

Please sign in to comment.